Miscellaneous SQL pattern examples
Concatenate strings, and show the data type of a column.
Concatenate a string and a column
SELECT 'testme_' || name
FROM logs;
Show the data type of a column
Show the data type of a column with the TYPEOF function, which Cloudera SQL Stream Builder (SSB) adds to
the Flink built-in functions:
SELECT eventTimestamp, TYPEOF(eventTimestamp) AS mytype
FROM airplanes;
