Last active
August 27, 2020 17:38
-
-
Save garystafford/ef632dd00f72d8b82efd1177479816eb to your computer and use it in GitHub Desktop.
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
SELECT | |
data.device_id, | |
data.gateway_id, | |
data.temperature, | |
data.humidity, | |
data.pressure, | |
data.color.red, | |
data.color.green, | |
data.color.blue, | |
data.color.ambient, | |
ts, | |
Clientid () AS device, | |
parse_time ("yyyy-MM-dd'T'HH:mm:ss.SSSZ", timestamp(), "UTC") AS msg_received | |
FROM | |
"${IoTTopicName}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment