Last active
May 22, 2020 19:01
-
-
Save pinalbhatt/116371d436019b3e9c05265219c8a435 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "my-stream1" | |
(data STRUCT< | |
EmailTemplateName VARCHAR, | |
EmailAddress VARCHAR>, | |
maskEmail VARCHAR, | |
market VARCHAR) | |
WITH (kafka_topic='growthnonprod-signup-api-emails-dev', value_format='json'); | |
select data->EmailTemplateName as EmailTemplateName, data->EmailAddress as EmailAddress, maskEmail, market from "my-stream1" EMIT CHANGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment