Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[REVIEW] Initial work for decimal type in Java/JNI [skip ci] #6514
[REVIEW] Initial work for decimal type in Java/JNI [skip ci] #6514
Changes from 3 commits
4a4ea1d
a549452
31f131b
4e5f4e1
23ef61d
17e1d30
b29c59b
a7ae605
9a2e948
da9e4d6
b3d72d1
7dba559
b0108ef
4278d48
86b8a6b
1434312
1931e38
f59c524
5220a7d
e4af748
1d21b47
3635007
9680e44
fa8af4b
5c52d88
6ad640b
9b5b4b1
767b50c
6d2bac9
74c311c
ef9d557
f5c6d56
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we contain
DataType
instead ofDType
+scale
in here? And we need implementgetDecimal
. I think we can change it in subsequent PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is type checking needed before calling
scale()
on type_id? will it blow up in case its not a decimal type?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not need the cast and I would prefer to not have it because it shows that we don't have issues mapping from the native scale to the JNI representation.