Skip to content

Conversation

@RaphDal
Copy link

@RaphDal RaphDal commented Oct 13, 2025

This PR adds a new test to validate decimal serialization in both text (v1) and binary (v2) formats.

Tandem with:

@RaphDal RaphDal requested a review from ideoma October 13, 2025 08:16
],
"result": {
"status": "SUCCESS",
"line": "decimals zero=0d,neg_zero=0d,one=1.0d,large=99999999999999.999d,small=0.001d,neg_small=-0.001d",
Copy link
Collaborator

@ideoma ideoma Oct 13, 2025

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?

Copy link
Author

@RaphDal RaphDal Oct 13, 2025

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.

Copy link
Collaborator

@ideoma ideoma Oct 13, 2025

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.

Copy link
Author

@RaphDal RaphDal Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type suffixes in ILP work when a new column has to be created; they determine the column type.

Yes, they do.

d is confusing; I'd rather have any other unused letter.

If it's not related to the test but to the format, let's continue the discussion here.

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.

3 participants