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: properly parse/generate duckdb MAP {..} syntax, annotate MAPs #3241

Merged
merged 2 commits into from Mar 29, 2024

Conversation

georgesittas
Copy link
Collaborator

@@ -3675,3 +3628,51 @@ def convert_sql(self, expression: exp.Convert) -> str:
transformed = cast(this=value, to=to, safe=safe)

return self.sql(transformed)

def _jsonpathkey_sql(self, expression: exp.JSONPathKey) -> str:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing to see here - just moved these underscore methods to the bottom of the generator file so they're grouped like helper methods. The only change is the TRANSFORMS entry.

@georgesittas georgesittas merged commit 2a3a5cd into main Mar 29, 2024
5 checks passed
@georgesittas georgesittas deleted the jo/annotate_maps branch March 29, 2024 01:43
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