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

[Enhancement] Filtering dateTime should support yyyy MM ddTHH: mm: ss format #34534

Open
3 tasks done
cjj2010 opened this issue May 8, 2024 · 0 comments · May be fixed by #34545
Open
3 tasks done

[Enhancement] Filtering dateTime should support yyyy MM ddTHH: mm: ss format #34534

cjj2010 opened this issue May 8, 2024 · 0 comments · May be fixed by #34545

Comments

@cjj2010
Copy link
Contributor

cjj2010 commented May 8, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Description

when we use flink-doris-connector that version is 1.6.0 to execute filtering dateTime by table api will occur error
e.g

       Table table = tableEnvironment.from("flink_doris_source");
        DateTimeFormatter formatter= DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
        Object fieldValueL= LocalDateTime.parse("2024-05-07 19:06:07",formatter);
        table.where(col("k1").isNotEqual(fieldValueL)).execute().print();

FE will return :"exception":"errCode=2,detailMessage=Incorrectdatetimevalue:CAST('2024-05-07T19:06:07'ASDATETIMEV2(0))inexpression:(k1!=CAST('2024-05-07T19:06:07'ASDATETIMEV2(0)))","status":400

Solution

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

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

Successfully merging a pull request may close this issue.

1 participant