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

fix: Fix Hive UnixToTime regression, README stale results #3055

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

VaggelisD
Copy link
Collaborator

In the process of validating the README examples, 2 diffs with current SQLGlot results were found:

  1. The first example transpiled EPOCH_MS (DuckDB) -> FROM_UNIXTIME (Hive) but the respective AST Node exp.UnixToTime was not generating properly in Hive

  2. The parse error examples in the existing README have mismatches in the col position of the missing token (right parenthesis) and the surrounding context does not seem right. In the latest SQLGLot version, the parse error diagnostics have improved but the examples have not been updated.

README.md Outdated Show resolved Hide resolved
@georgesittas georgesittas merged commit 08249af into tobymao:main Feb 29, 2024
5 checks passed
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 this pull request may close these issues.

None yet

2 participants