Cloudera SQL Stream Builder (SSB) builds the template of a connector from the properties and the supported formats
that you define for the connector. The templates of the packaged connectors are fixed. To get
a template of your own, register a connector with the properties that you need.
Custom DDL templates are not files. To add a template, register a connector with the
properties that the template must contain.
Get the JAR file of the connector, as described in Adding a new connector.
Register the connector. On the Properties tab, define a
property for each option that the template must contain.
Use these settings to shape the template:
A property with Required selected is in the template as an
active line. A table must set it.
A property without Required is in the template as a
comment.
The Default Value is the value in the line. If you leave it
empty, the line contains ..., which you replace.
The Description is the comment at the end of the line.
For the full procedure, see Adding a new connector.
Open a job, and open the Templates menu of the SQL
editor.
Click the type of the connector.
The CREATE TABLE statement is displayed in the editor. Check that
the required properties are active and that the defaults are right.
To change the template, click the name of the connector under
Connectors, click Edit, change the
properties, and click Save.
The next template that you insert contains the changes. A statement that you
already inserted does not change.