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

Datafusion parses interval literal error #768

Closed
goldmedal opened this issue Aug 26, 2024 · 2 comments
Closed

Datafusion parses interval literal error #768

goldmedal opened this issue Aug 26, 2024 · 2 comments
Labels
bug Something isn't working modeling-rs

Comments

@goldmedal
Copy link
Contributor

Describe the bug

Found from TPCH test.

DataFusion error: Arrow error: Parser error: Invalid input syntax for type interval: "0 YEARS 3 MONS 0 DAYS 0 HOURS 0 MINS 0.000000000 SECS seconds"

DataFusion will unparse an interval value to a full interval literal but Datafusion can't parse this result.

To Reproduce

# TODO: External error: query failed: DataFusion error: Arrow error: Parser error: Invalid input syntax for type interval: "0 YEARS 3 MONS 0 DAYS 0 HOURS 0 MINS 0.000000000 SECS seconds"
#query ITTTR
query error

@goldmedal goldmedal added bug Something isn't working modeling-rs labels Aug 26, 2024
@goldmedal
Copy link
Contributor Author

It would be fixed by apache/arrow-rs#6006 and apache/datafusion#12032

@goldmedal
Copy link
Contributor Author

solved by #802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working modeling-rs
Projects
None yet
Development

No branches or pull requests

1 participant