Skip to content

Possible Issue when Transpiling from Spark to Athena? #5124

Closed Answered by georgesittas
aguynamedryan asked this question in Q&A
Discussion options

You must be logged in to vote

Hiya 👋

Is this a syntax error in Athena? What about Presto and Trino that Athena's based on? If it's indeed invalid, it should be a low lift to fix this, by overriding the generation logic for FileFormatProperty and producing the string literal syntax you've shown.

Is this something sqlglot is supposed to handle?

DDL and DML statements are usually not as highly prioritized, but yes, SQLGlot aims to transpile as much as possible.

Since this isn't in scope for the core team, I'm going to mark as resolved, but we're happy to accept contributions if you're down to tackle this yourself!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aguynamedryan
Comment options

Answer selected by georgesittas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants