Skip to content

support scientific notation for SQL literals #3448

@kmitchener

Description

@kmitchener

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)

Describe the solution you'd like
A clear and concise description of what you want to happen.

Would like to be able to use scientific notation for numerics:

Currently, DataFusion takes the "e" notation as a column alias.

DataFusion CLI v11.0.0select 1e3;
+----+
| e3 |
+----+
| 1  |
+----+
1 row in set. Query took 0.012 seconds.

Add issue in sqlparser-rs to address the parsing issue: apache/datafusion-sqlparser-rs#610

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions