-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[function] typeof #36245
Comments
Hi @wangsimo0 , i would like to work on this issue. Can we please connect on how to get started? |
i would do the issue recently @NeelakshSharma |
Oh okay, can you please attach the PR for my reference? I would like to see the implementation. |
@xuzifu666 May I ask how the current progress is? We need this function. |
@xuzifu666 Hi,I have implemented the typeof function, can I submit a PR for this issue? |
OK,you can submit it,Thanks @MicePilot |
sometimes we don't know the exact type of an output, in starrocks there is not a good way to confirm that. so we need this function.
typeof
Returns the name of the type of the provided expression
syntax
input
any expr, it can be a funtion's result or an expression of column..
output
the name of the type of the provided expression, like int(11),varchar(65533) or datetime.
reference
https://trino.io/docs/current/functions/conversion.html?highlight=typeof#typeof
https://docs.snowflake.com/en/sql-reference/functions/typeof
The text was updated successfully, but these errors were encountered: