CREATE STREAM

CREATE STREAM WITH clause

Creates a new stream with the specified columns and properties.

CREATE STREAM stream_name ( { column_name data_type } [, ...] )
  WITH ( property_name = expression [, ...] );

CREATE STREAM WITH clause and AS SELECT

Creates a new stream with the specified columns and properties along with the corresponding MapR Event Store For Apache Kafka topic.

CREATE STREAM stream_name
        [WITH ( property_name = expression [, ...] )]
        AS SELECT  select_expr [, ...]
        FROM from_item [, ...]
        [ WHERE condition ]
        [PARTITION BY column_name]