-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Ability to inspect type of an expression #12272
Comments
Is this what you want? |
Good question. Maybe. Is |
Yes
Maybe If we are to implement a new casting feature, I would also prefer syntax like Another choice is to support |
The
What i am looking for with this issue, is the ability to check what is the SQL type of an expression to be used in such |
What do you mean
Do you have a example of your function? |
e.g.
|
I see. I agree we might need another similar function than |
Is your feature request related to a problem or challenge?
I as a user want to be able to inspect type of expressions. Example usage is to inspect different sides of the comparison (column vs expression) to make sure there is no implicit cast preventing or limiting predicate pushdown.
The type inspection should also help me write a CAST.
Describe the solution you'd like
A function similar to
arrow_typeof
which reveals the SQL type of an expression.Describe alternatives you've considered
Using
arrow_typeof
function. Teturn result of that function cannot be used in a CAST:Additional context
None
The text was updated successfully, but these errors were encountered: