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

[FORMATTING] Issue Title Here

Open Altonymous opened this issue 1 year ago • 1 comments

Input data SELECT webhook_data_json.unified_receipt.latest_receipt_info[0].is_trial_period::boolean

Expected Output

SQL to be formatted.

Actual Output

Unable to format SQL: Error: Parse error: Unexpected "[0].is_tri" at line 5 column 112

Usage

  • How are you calling / using the library? VS Code Extension
  • What SQL language(s) does this apply to? RedShift (Super DataType)
  • Which SQL Formatter version are you using? sql-formatter v12.0.6 (Build into Prettier SQL VSCode extension.

Altonymous avatar May 15 '24 15:05 Altonymous