Hi Pavel,
Not sure if I understand your question, does override
"SqlDialect.unparseCall" [1] provide an entry point to customize CAST
unparsing per dialect?
[1]:
https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql/SqlDialect.java#L442
-Rui
On Mon, Jul 20, 20
Currently SqlDialect.getCastSpec() is used to amend types to cast to for
different dialects and works during Rel to Sql conversion. That means it cannot
be used when unparsing SqlNode tree to a specific dialect. Does somebody know
was it made intentionally and would it be better to provide alter