Skip to content

Parser fails when using "json" in table identifier #1212

@doruchiulan

Description

@doruchiulan

Describe the bug
net.sf.jsqlparser.JSQLParserException: Encountered unexpected token: "." "."
at line 1, column 35.

Was expecting one of:

";"
<EOF> (state=,code=0)

To Reproduce
describe file_azbs.productcategory.json

Expected behavior
Query should be parsed

System

  • HiveServer2
  • Java Version: 1.8
  • JSqlParser version: 4.0

Describe file_azbs.productcategory.csv works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions