Flink SQL
Cloudera SQL Stream Builder (SSB) runs your SQL statements on Apache Flink 2.3.0 and supports the Flink SQL statements, data types, and options that you can use in the SQL editor of the Streaming SQL Console.
Flink SQL defines tables, writes data to them, and queries streaming and bounded data. In SSB, you write Flink SQL in the SQL editor of a job in the Streaming SQL Console, and SSB runs the statements on the Flink engine of your Cloudera Streaming Analytics engine instance.
How SSB runs statements
- You can run several statements at once. End each statement with a semicolon
(
;) at the end of a line. - SSB
ignores lines that start with
--. Put each comment on its own line. - Use straight
quotes (
'and") in SQL. When a statement contains curly single quotes, such as the quotes that word processors and some chat tools insert when you paste text, SSB rejects it with the message Smart quote is not supported at line N. Please use normal quote. - SSB compiles the SQL of a job each time the job starts.
For the full Flink SQL language reference, see Apache Flink SQL reference.
