Error in Google BigQuery

后端 未结 5 1957
渐次进展
渐次进展 2021-02-19 16:14

I am new to Google BigQuery. I need help with the query error:

\"Encountered \" \"WITH\" \"with \"\" at line 1, column 1. Was expecting: EOF\"

5条回答
  •  甜味超标
    2021-02-19 16:45

    To access BQ using Terminal command:

    For Ignoring these cases: "Encountered", "WITH", "with" at line 1, column 1. "Was expecting: EOF"

    Use: --use_legacy_sql=false

    Normal Query example from the terminal:

    bq query --use_legacy_sql=false 'SELECT * from `table_name` where published_date >= "2020-05-05" limit 10;'
    

提交回复
热议问题