Closed GoogleCodeExporter closed 8 years ago
You've hit a keyword in our SQL dialect. If you put brackets around the alias
(i.e., [returns]), that'll quote the string, preventing it from being
interpreted as a keyword.
This issue will be addressed more comprehensively by our upcoming SQL dialect
improvements (issue 448).
Original comment by jcon...@google.com
on 1 Mar 2016 at 11:59
Hi,
Thanks for the prompt response. I figured it was probably a keyword, but
couldn't find such a keyword in the query reference doc at
https://cloud.google.com/bigquery/query-reference.
Out of curiosity, what does the returns keyword do?
Original comment by yuchen....@tapjoy.com
on 2 Mar 2016 at 12:13
Sadly, nothing. :-)
The parser we use is shared with a few other Google projects, so there are a
few keywords in the grammar that are meaningless in BigQuery.
Original comment by jcon...@google.com
on 2 Mar 2016 at 12:17
Original issue reported on code.google.com by
yuchen....@tapjoy.com
on 1 Mar 2016 at 11:54Attachments: