You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spanner> SELECT * FROM Singers LOOKUP JOIN Albums USING (SingerId);
ERROR: spanner: code = "InvalidArgument", desc = "Invalid value for join_type/join_method hint: LOOKUP_JOIN."
TL;DR
JoinMethod
is not correct.APPLY
andLOOP
is not a validJOIN
prefixes.Description
Only documented
join_method
(not hint) isHASH
, soAPPLY
andLOOP
are not validjoin_method
.are interpreted as
It can be verified using
.*
.I believe this bug can break valid queries, so it is needed to be fixed.
Note
There is a undocument
LOOKUP
join method. It is unimplemented, but it can be parsed.https://github.com/google/zetasql/blob/a516c6b26d183efc4f56293256bba92e243b7a61/zetasql/parser/zetasql.tm#L7713-L7718
Related issue
The text was updated successfully, but these errors were encountered: