Re: Support for type aliases

2022-10-25 Thread Benchao Li
t 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 cle

Support for type aliases

2022-10-25 Thread Will Noble
upport 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

[jira] [Created] (CALCITE-5346) Support for type aliases

2022-10-25 Thread Will Noble (Jira)
Will Noble created CALCITE-5346: --- Summary: Support for type aliases Key: CALCITE-5346 URL: https://issues.apache.org/jira/browse/CALCITE-5346 Project: Calcite Issue Type: New Feature