Skip to content

HIVE: Round trip fails for field access on a numeric-prefix identifier #2589

Description

@s5dsn-eqee

Hive: SELECT [dbo]. 1te_sk = 1 parses, displays as SELECT [dbo].1te_sk = 1,
and the displayed SQL fails to re-parse: .1 is lexed as a number.
Found by fuzz_parse_roundtrip. Likely fix: display . before an unquoted
identifier that starts with a digit, as #2463 did for numeric literals.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions