Skip to content

Support of literal values as dedicated literal types #9

Description

@dnnancy

It would be ideal that the literal values in SQL script are parsed as dedicated literal types, such as StringLiteral, NumberLiteral, BooleanLiteral, etc. Currently they seem to be all parsed as IdentifierExpression.

For instance, with the following script:

select fielda 
from table1 t1
where t1.fieldd = 10.0 or t1.fieldc = 'abc'

Ideally, 10.0 and 'abc' can be parsed as NumberLiteral and StringLiteral, and so on.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions