Skip to content

Conversation

@joshua-spacetime
Copy link
Collaborator

Description of Changes

Parses literals in accordance with the sql spec. Specifically it adds support for scientific notation.

API and ABI breaking changes

None

Expected complexity level and risk

2

Adds a dependency on BigDecimal both for parsing scientific notation as well as for parsing 128 and 256 bit integer literals.

Testing

Added new parsing and type checking test cases

@joshua-spacetime joshua-spacetime force-pushed the joshua/sql-scientific-notation branch from 308c192 to 1bb8460 Compare January 31, 2025 02:06
Base automatically changed from joshua/dml to master January 31, 2025 18:23
@bfops bfops added release-any To be landed in any release window backward-compatible labels Feb 3, 2025
@joshua-spacetime joshua-spacetime force-pushed the joshua/sql-scientific-notation branch from 1bb8460 to 6a4cd83 Compare February 3, 2025 23:27
Copy link
Contributor

@mamcx mamcx left a comment

Choose a reason for hiding this comment

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

LGTM

@joshua-spacetime joshua-spacetime changed the title Update support for sql literal expressions Update sql literals to match docs Feb 4, 2025
@joshua-spacetime joshua-spacetime changed the title Update sql literals to match docs Update sql literals to match spec Feb 4, 2025
@joshua-spacetime joshua-spacetime added this pull request to the merge queue Feb 4, 2025
Merged via the queue into master with commit ad36d13 Feb 4, 2025
14 of 15 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/sql-scientific-notation branch February 4, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backward-compatible release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants