sql-formatter icon indicating copy to clipboard operation
sql-formatter copied to clipboard

[FORMATTING] Unable to parse Hive syntax: STRUCT<x: INT64, y:STRING>

Open wupengjiang2024 opened this issue 1 year ago • 3 comments

Input data

Which SQL and options did you provide as input?

STRUCT<x: INT64, y:STRING>

Expected Output

STRUCT<x: INT64, y:STRING>

Actual Output

ERROR: Parse error: Unexpected: STRING

Usage

  • How are you calling / using the library?
  • What SQL language(s) does this apply to?
  • Which SQL Formatter version are you using?

wupengjiang2024 avatar Apr 23 '24 11:04 wupengjiang2024