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

convertTimezone returns Function 'converttimezone' not registered #85

Open
kempspo opened this issue Mar 24, 2023 · 2 comments
Open

convertTimezone returns Function 'converttimezone' not registered #85

kempspo opened this issue Mar 24, 2023 · 2 comments

Comments

@kempspo
Copy link

kempspo commented Mar 24, 2023

select convertTimezone('2022-12-28T12:00:00', 'UTC', 'US/Pacific') returns the error Query failed (#20230324_063757_02205_u28ez): line 2:13: Function 'converttimezone' not registered

Screenshot 2023-03-24 at 2 39 25 PM
Screenshot 2023-03-24 at 2 40 21 PM

Edit: added additional screenshot to show plugin version

@leniartek
Copy link

Hello @kempspo thanks for reporting issue.
converttimezone function is not supported by our integration yet.

This function is not very popular and many other connectors do not support it as well.
https://www.metabase.com/docs/latest/questions/query-builder/expressions/converttimezone#limitations

Here you can find workarounds:
https://www.metabase.com/docs/latest/questions/query-builder/expressions/converttimezone#related-functions

I can't promise any ETA when this will be taken by our team.

Do you wan't to prepare PR?

@Maiquu
Copy link
Contributor

Maiquu commented May 4, 2023

Isn't convertTimezone already supported? convertTimezone is only available in expression editor, not in SQL editor.

Related commit

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

3 participants