I filed CALCITE-5346 <https://issues.apache.org/jira/browse/CALCITE-5346> but was hoping to get some input on the idea before looking into the implementation myself.
Some dialects of SQL, like BigQuery, use non-standard type names, e.g. STRING instead of VARCHAR. We would like to easily support type aliases for basic ones with a clear mapping to ISO types, so that an expression like CAST(x AS STRING) is equivalent to CAST(x AS VARCHAR). Does anybody currently use Calcite in such a way or have any opinions on how the solution should look? Will
