You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Guillaume Massé (Jira)" <ji...@apache.org> on 2023/06/28 22:24:00 UTC

[jira] [Created] (CALCITE-5806) add a String data type

Guillaume Massé created CALCITE-5806:
----------------------------------------

             Summary: add a String data type
                 Key: CALCITE-5806
                 URL: https://issues.apache.org/jira/browse/CALCITE-5806
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.34.0
            Reporter: Guillaume Massé


Apache Spark as a String data type:

[https://spark.apache.org/docs/latest/sql-ref-datatypes.html]

 
{code:java}
 spark.sql("select concat(cast(1 as string), 'b') as out").show
+---+
|out|
+---+
| 1b|
+---+ {code}
I would like to be able to parse & validate this query.

 

 

https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#string_type



--
This message was sent by Atlassian Jira
(v8.20.10#820010)