-
Notifications
You must be signed in to change notification settings - Fork 0
feat: test decimal #3
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
base: main
Are you sure you want to change the base?
Conversation
| ], | ||
| "result": { | ||
| "status": "SUCCESS", | ||
| "line": "decimals zero=0d,neg_zero=0d,one=1.0d,large=99999999999999.999d,small=0.001d,neg_small=-0.001d", |
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.
Any programming language where d suffix means decimal and not double?
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.
I don't know of one, but ILP isn't a programming language and m was already used for millisecond timestamps. Also, there is no reason d would be used for doubles in the future as any numeric literals are doubles 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.
d is confusing; I'd rather have any other unused letter. Type suffixes in ILP work when a new column has to be created; they determine the column 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.
This PR adds a new test to validate decimal serialization in both text (v1) and binary (v2) formats.
Tandem with: