Skip to content
Discussion options

You must be logged in to vote

You can get the dialect-specific name by generating SQL for the annotated type targeting said dialect:

annotated_exprs = annotate_types(expression=ast, schema=schema, dialect="tsql")
annotated_exprs.expressions[0].type.sql("tsql")

The current AST structure is expected. We intentionally don't tie any transformations or ASTs to a specific dialect.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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