Closed pgrivachev closed 2 years ago
QUALIFY is a weird one, since it has some backwards compatibility issues. You must both enable the language feature: FEATURE_V_1_3_QUALIFY
But also set "QUALIFY" as a reserved keyword: c++: https://github.com/google/zetasql/blob/1933acefe8eb10e293309a9fa7d7c7f1cb6bf8c4/zetasql/public/language_options.h#L273
java: <uh...I guess you can't do this from java right now?! >
Thank you @matthewcbrown, adding "QUALIFY" to reserved keywords helped.
I found that in BigQuery it is possible to use
QUALIFY
clause withoutWHERE
orGROUP BY
orHAVING
clause.But when I try to analyze the same query using ZetaSQL it returns the error:
Is it a limitation or bug in ZetaSQL?