Skip to content

Commit

Permalink
Merge branch '5.0.0-post' into 5.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Apurva Mehta committed Aug 1, 2018
2 parents 88bef04 + fe9da5a commit 2001356
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/syntax-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ CREATE STREAM AS SELECT
CREATE STREAM stream_name
[WITH ( property_name = expression [, ...] )]
AS SELECT select_expr [, ...]
FROM from_item
[ LEFT JOIN join_table ON join_criteria ]
FROM from_stream
[ LEFT | FULL | INNER ] JOIN [join_table | join_stream] [ WITHIN [(before TIMEUNIT, after TIMEUNIT) | N TIMEUNIT] ] ON join_criteria
[ WHERE condition ]
[PARTITION BY column_name];
Expand Down Expand Up @@ -389,7 +389,8 @@ CREATE TABLE AS SELECT
CREATE TABLE table_name
[WITH ( property_name = expression [, ...] )]
AS SELECT select_expr [, ...]
FROM from_item
FROM from_table
[ LEFT | FULL | INNER ] JOIN join_table ON join_criteria
[ WINDOW window_expression ]
[ WHERE condition ]
[ GROUP BY grouping_expression ]
Expand Down Expand Up @@ -1202,4 +1203,4 @@ Example:
CREATE TABLE users_table (userid_string VARCHAR, username VARCHAR, email VARCHAR)
WITH (KAFKA_TOPIC='users-with-proper-key',
VALUE_FORMAT='JSON',
KEY='userid_string');
KEY='userid_string');

0 comments on commit 2001356

Please sign in to comment.