Skip to content
New issue

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

unsupported expression CaseExpr #323

Open
Lvnszn opened this issue May 10, 2023 · 2 comments
Open

unsupported expression CaseExpr #323

Lvnszn opened this issue May 10, 2023 · 2 comments

Comments

@Lvnszn
Copy link

Lvnszn commented May 10, 2023

how can i use case when in octosql

 couldn't parse aliased expression: &{Expr:<nil> Whens:[0xc000522a20] Else:0xc000522a40}: unsupported expression &{Expr:<nil> Whens:[0xc000522a20] Else:0xc000522a40} of type *sqlparser.CaseExpr 
@cube2222
Copy link
Owner

Hey! It's not supported, so you'd have to contribute it. The implementation would be similar to how COALESCE is implemented.

@Lvnszn
Copy link
Author

Lvnszn commented May 12, 2023

let me try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants