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

[CH] To_date diff while set spark.sql.legacy.timeParserPolicy different value #7896

Open
KevinyhZou opened this issue Nov 11, 2024 · 0 comments · May be fixed by #7923
Open

[CH] To_date diff while set spark.sql.legacy.timeParserPolicy different value #7896

KevinyhZou opened this issue Nov 11, 2024 · 0 comments · May be fixed by #7923
Labels
bug Something isn't working triage

Comments

@KevinyhZou
Copy link
Contributor

Backend

CH (ClickHouse)

Bug description

sql query

select to_date('2025-07-22 10:00:00', 'yyyy-MM-dd')

in valina spark, when set spark.sql.legacy.timeParserPolicy value as legacy, it returns '2025-07-22'; when set value corrected it returns value NULL

in gluten,it always returns '2025-07-22'

Spark version

Spark-3.3.x

Spark configurations

No response

System information

No response

Relevant logs

No response

@KevinyhZou KevinyhZou added bug Something isn't working triage labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant