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
TranspileLateralColumnAliasError
Consider the following:
SELECT a - b as c1, c * c1 as c2 FROM t WHERE c2 > 0
This currently transpiles to:
SELECT a - b as c1, c * c1 as c2 FROM t WHERE c * a - b > 0
which probably behaves differently from expected
See #1242
A possible solution could be to transpile to:
SELECT a - b as c1, c * c1 as c2 FROM t WHERE c * (a - b) > 0
No response
macOS
latest via Databricks CLI
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Category of Bug / Issue
TranspileLateralColumnAliasError
Current Behavior
Consider the following:
This currently transpiles to:
which probably behaves differently from expected
See #1242
Expected Behavior
A possible solution could be to transpile to:
Steps To Reproduce
No response
Relevant log output or Exception details
No response
Sample Query
No response
Operating System
macOS
Version
latest via Databricks CLI
The text was updated successfully, but these errors were encountered: