A regular join combines the rows of two tables that have the same value in the columns
of the join condition. It is the join of standard SQL. Cloudera SQL Stream Builder (SSB) supports inner joins and the outer
joins LEFT, RIGHT, and FULL.
Ensure that you know how to run a job. For more information, see Running a job with generated
data.
In a streaming query, a regular join keeps the rows of both inputs in the state of the job,
because a new row on one side can match an old row on the other side. The state grows
without a limit unless you set a state time-to-live (TTL). Use a regular join if the inputs
are bounded, if the join key has few values, or if you set a TTL.
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, open the menu of Jobs,
and click New Job.
The Create New Job window opens.
Enter a Job Name, or click Generate Job
Name.
Click Create.
The job opens in a new tab, with an empty SQL editor.
The progress of each statement is displayed on the Logs
tab. When the job starts, its status icon in the Explorer turns
green.
When you have finished, click Stop job.
The SET statement limits how long the job keeps a row that it has not
matched. A late match is lost because a row that is older than the TTL is removed from the
state. Choose a value that is longer than the delay between the matching rows. For more
information about the SET statement, see Other
supported statements.