Use tables as the sources and sinks of the queries in your jobs. You can also view,
copy, and delete the tables of a project.
A table that you read from appears in the FROM clause. A table that you
write to appears in an INSERT INTO statement. For example:
INSERT INTO air_traffic
SELECT lat, lon
FROM airplanes
WHERE icao <> 0;
For the SQL syntax, see Flink
SQL.
-
In the Streaming SQL Console, click Projects in the left
navigation pane, and click the name of your project.
The project opens, with the Explorer panel on the left.
To open the Streaming SQL Console, see Accessing Cloudera SQL Stream Builder.
-
In the Explorer, expand Virtual
Tables.
-
To work with a table, click it or open its Controls menu.
- To change a Kafka table or a webhook table, click the table. The editor opens in a
tab of the workspace.
- To copy the
CREATE TABLE statement of the table, click
Copy DDL.
- To insert the statement into the SQL editor, click Paste In
Editor.
- To remove the table, click Delete.