You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Kirill Kozlov (Jira)" <ji...@apache.org> on 2019/09/30 17:32:00 UTC
[jira] [Created] (CALCITE-3381) Add `getCastSpec` for
BigQuerySqlDialect
Kirill Kozlov created CALCITE-3381:
--------------------------------------
Summary: Add `getCastSpec` for BigQuerySqlDialect
Key: CALCITE-3381
URL: https://issues.apache.org/jira/browse/CALCITE-3381
Project: Calcite
Issue Type: New Feature
Components: core
Affects Versions: 1.21.0
Reporter: Kirill Kozlov
When using `SqlImplementor.SimpleContext#toSql` with BigQuerySqlDialect on Rel nodes containing `CAST` need to convert Calcite SqlTypeName to BigQuery supported types ([https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types]).
Example: VARCHAR should become a STRING, BOOLEAN - BOOL, and so on.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)