Skip to content

Feat/0.3.2 bug fixes#5

Merged
azurechen97 merged 6 commits intomasterfrom
feat/0.3.2-bug-fixes
Apr 1, 2026
Merged

Feat/0.3.2 bug fixes#5
azurechen97 merged 6 commits intomasterfrom
feat/0.3.2-bug-fixes

Conversation

@azurechen97
Copy link
Copy Markdown
Owner

No description provided.

azurechen97 and others added 6 commits April 1, 2026 20:25
Route TRUNC(n, d) to exp.Trunc when the second arg is non-string,
and keep routing TRUNC(dt, 'unit') to _build_datetrunc for date
truncation. Add exp.Trunc → TRUNC(n, d) generator transform.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…dialect.py, bump to v0.4.0

- Rename maxcompute.py → dialect.py; update entry point, __init__, and docs
- MaxComputeParser now inherits HiveParser (sqlglot.parsers.hive)
- MaxComputeGenerator now inherits HiveGenerator (sqlglot.generators.hive)
- Raise sqlglot dependency floor to >=30.1.0 (first release with split modules)
- Bump version to 0.4.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@azurechen97 azurechen97 merged commit 15d1cb2 into master Apr 1, 2026
4 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.

1 participant