Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BigDecimal conversion to Spark DecimalType #28

Merged
merged 1 commit into from
Aug 6, 2022

Conversation

akudiyar
Copy link
Collaborator

@akudiyar akudiyar commented Aug 5, 2022

  • Fix Hive test database location
  • Use DecimalType.SYSTEM_DEFAULT for DecimalType when converting decimals. Previously DecimalType.USER_DEFAULT was used.

Affects #24

Use DecimalType.SYSTEM_DEFAULT (DecimalType(38, 18)) instead of
default DecimalType(10, 0) for converting BigDecimal values coming from
Tarantool. That will fit for every query now, but further the
decimal parameters should be picked up from the actual values.
@akudiyar akudiyar merged commit 6ba7c66 into master Aug 6, 2022
@akudiyar akudiyar deleted the fix-decimal-from-tuple branch August 6, 2022 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant