Last active
June 23, 2022 23:52
-
-
Save jingningzhang1/a993629b841ff3b5f97e124162fbaac8 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
CREATE TABLE IF NOT EXISTS plotly_iot_dashboard.bronze_sensors | |
( | |
Id BIGINT GENERATED BY DEFAULT AS IDENTITY, | |
device_id INT, | |
user_id INT, | |
calories_burnt DECIMAL(10,2), | |
miles_walked DECIMAL(10,2), | |
num_steps DECIMAL(10,2), | |
timestamp TIMESTAMP, | |
value STRING | |
) | |
USING DELTA | |
TBLPROPERTIES("delta.targetFileSize"="128mb") | |
--LOCATION s3://<path>/ | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment