Last active
June 27, 2018 07:58
-
-
Save miguno/8dacacd0c3822695ed681a21e43be2fd to your computer and use it in GitHub Desktop.
Creating a stream with a STRUCT column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE STREAM orders (orderid VARCHAR, itemid VARCHAR, address STRUCT<city VARCHAR, state VARCHAR, zicode BIGINT>) | |
WITH (kafka_topic = 'orders_topic', value_format = 'JSON', key = 'orderId'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment