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

Trino dialect the extract function not supports dow and week parameters #52698

Open
renzhimin7 opened this issue Nov 7, 2024 · 0 comments · May be fixed by #52651
Open

Trino dialect the extract function not supports dow and week parameters #52698

renzhimin7 opened this issue Nov 7, 2024 · 0 comments · May be fixed by #52651
Labels
type/bug Something isn't working

Comments

@renzhimin7
Copy link
Contributor

Steps to reproduce the behavior (Required)

set sql_dialect='trino';
SELECT extract(dow FROM TIMESTAMP '2022-10-20 05:10:00');

Expected behavior (Required)

输出结果值 4

Real behavior (Required)

返回异常 Getting analyzing error. Detail message: No matching function with signature: dow(datetime)

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()
    3.3.5
@renzhimin7 renzhimin7 added the type/bug Something isn't working label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant