We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LEAST()
GREATEST()
BETWEEN()
The current implementation of these function converts the arguments into either Float64() or Int64() types.
Float64()
Int64()
The zetasql analyzer will assert that the argument types are homogenous, so we can update our implementations to use .GT(), etc
zetasql
.GT()
SELECT GREATEST("a", 2)
No matching signature for function GREATEST for argument types: STRING, INT64. Supported signature: GREATEST([ANY, ...]) [at 1:8]
SELECT LEAST("a", "b"), GREATEST("a", "b"), "b" between "a" and "c";
failed to scan rows: strconv.ParseFloat: parsing "a": invalid syntax
failed to scan rows: strconv.ParseInt: parsing "b": invalid syntax
The text was updated successfully, but these errors were encountered:
LEAST
GREATEST
BETWEEN
Successfully merging a pull request may close this issue.
The current implementation of these function converts the arguments into either
Float64()
orInt64()
types.The
zetasql
analyzer will assert that the argument types are homogenous, so we can update our implementations to use.GT()
, etcExpected
Actual
The text was updated successfully, but these errors were encountered: