| Property | Value |
| Model name | Sample Weather Data |
| DB vendor | Snowflake |
| Property | Value |
| Schema name | WEATHER |
| Technical name | |
| Comments | From example described at https://docs.snowflake.com/en/user-guide/sample-data-openweathermap.html |
| Database | SNOWFLAKE_SAMPLE_DATA |
| Transient | false |
| Managed access | NO |
| Data retention in days | 1 |
| Remarks | TPC-H, OpenWeatherMap, etc |
| Property | Value |
| Table | DAILY_14_TOTAL |
| Technical name | |
| Id | |
| Schema | WEATHER |
| Additional properties | false |
| Comments | |
| Temporary | |
| Transient | false |
| External | false |
| Primary key | |
| Cluster by | |
| [1] Expression | |
| Key | |
| Stage file format | CSV |
| Format type options | [object Object] |
| Stage copy options | |
| Data retention in days | 1 |
| Like | |
| Clone | |
| Copy grants | |
| Remarks | |
| Column | Type | Req | Key | Description | Comments |
| T | timestamp_ntz(9) | true | |||
| V | variant | true | |||
| city | jsonObject | true | |||
| coord | jsonObject | true | |||
| lat | jsonNumber | true | |||
| lon | jsonNumber | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true | |||
| data | jsonArray | true | |||
| [0] | jsonObject | false | |||
| clouds | jsonNumber | true | |||
| deg | jsonNumber | true | |||
| dt | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| rain | jsonNumber | false | |||
| snow | jsonNumber | false | |||
| speed | jsonNumber | true | |||
| temp | jsonObject | true | |||
| day | jsonNumber | true | |||
| eve | jsonNumber | true | |||
| max | jsonNumber | true | |||
| min | jsonNumber | true | |||
| morn | jsonNumber | true | |||
| night | jsonNumber | true | |||
| uvi | jsonNumber | true | |||
| weather | jsonArray | true | |||
| [0] | jsonObject | false | |||
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true | |||
| time | jsonNumber | true |
| Column | Type | Req | Key | Description | Comments |
| city | jsonObject | true | |||
| data | jsonArray | true | |||
| time | jsonNumber | true |
| Property | Value |
| Business Name | V |
| Type | variant |
| Variant type | JSON |
| Not null | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| coord | jsonObject | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true |
| Property | Value |
| Business Name | city |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| lat | jsonNumber | true | |||
| lon | jsonNumber | true |
| Property | Value |
| Business Name | coord |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | lat |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | -12.28389 |
| Property | Value |
| Business Name | lon |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | -40.493889 |
| Property | Value |
| Business Name | country |
| Type | jsonString |
| Required | true |
| Sample | BR |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 3450832 |
| Property | Value |
| Business Name | name |
| Type | jsonString |
| Required | true |
| Sample | Ruy Barbosa |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | data |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| clouds | jsonNumber | true | |||
| deg | jsonNumber | true | |||
| dt | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| rain | jsonNumber | false | |||
| snow | jsonNumber | false | |||
| speed | jsonNumber | true | |||
| temp | jsonObject | true | |||
| uvi | jsonNumber | true | |||
| weather | jsonArray | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | clouds |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 0 |
| Property | Value |
| Business Name | deg |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 29 |
| Property | Value |
| Business Name | dt |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1519797600 |
| Property | Value |
| Business Name | humidity |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 0 |
| Property | Value |
| Business Name | pressure |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 789.88 |
| Property | Value |
| Business Name | rain |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 0.25 |
| Property | Value |
| Business Name | snow |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 0.18 |
| Property | Value |
| Business Name | speed |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1.23 |
| Column | Type | Req | Key | Description | Comments |
| day | jsonNumber | true | |||
| eve | jsonNumber | true | |||
| max | jsonNumber | true | |||
| min | jsonNumber | true | |||
| morn | jsonNumber | true | |||
| night | jsonNumber | true |
| Property | Value |
| Business Name | temp |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | day |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 271.87 |
| Property | Value |
| Business Name | eve |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 271.87 |
| Property | Value |
| Business Name | max |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 271.87 |
| Property | Value |
| Business Name | min |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 271.87 |
| Property | Value |
| Business Name | morn |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 271.87 |
| Property | Value |
| Business Name | night |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 271.87 |
| Property | Value |
| Business Name | uvi |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 6.689 |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | weather |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | description |
| Type | jsonString |
| Required | true |
| Sample | sky is clear |
| Property | Value |
| Business Name | icon |
| Type | jsonString |
| Required | true |
| Sample | 01dd |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 800 |
| Property | Value |
| Business Name | main |
| Type | jsonString |
| Required | true |
| Sample | Clear |
| Property | Value |
| Business Name | time |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1518544107 |
| Property | Value |
| Business Name | T |
| Type | timestamp_ntz |
| Precision | 9 |
| Primary key | true |
| Not null | true |
| Sample | 2018-02-13 09:48:27.000 |
CREATE OR REPLACE DATABASE "SNOWFLAKE_SAMPLE_DATA"; USE DATABASE "SNOWFLAKE_SAMPLE_DATA"; CREATE OR REPLACE SCHEMA "WEATHER" WITH MANAGED ACCESS DATA_RETENTION_TIME_IN_DAYS=1 COMMENT='From example described at https://docs.snowflake.com/en/user-guide/sample-data-openweathermap.html'; USE SCHEMA "WEATHER"; CREATE OR REPLACE TABLE "DAILY_14_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; | Property | Value |
| Table | DAILY_16_TOTAL |
| Technical name | |
| Id | |
| Schema | WEATHER |
| Additional properties | false |
| Comments | |
| Temporary | |
| Transient | false |
| External | false |
| Primary key | |
| Cluster by | |
| [1] Expression | |
| Key | |
| Stage file format | CSV |
| Format type options | [object Object] |
| Stage copy options | |
| Data retention in days | 1 |
| Like | |
| Clone | |
| Copy grants | |
| Remarks | |
| Column | Type | Req | Key | Description | Comments |
| T | timestamp_ntz(9) | true | |||
| V | variant | true | |||
| city | jsonObject | true | |||
| coord | jsonObject | true | |||
| lat | jsonNumber | true | |||
| lon | jsonNumber | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true | |||
| data | jsonArray | true | |||
| [0] | jsonObject | false | |||
| clouds | jsonNumber | true | |||
| deg | jsonNumber | true | |||
| dt | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| rain | jsonNumber | false | |||
| snow | jsonNumber | false | |||
| speed | jsonNumber | true | |||
| temp | jsonObject | true | |||
| day | jsonNumber | true | |||
| eve | jsonNumber | true | |||
| max | jsonNumber | true | |||
| min | jsonNumber | true | |||
| morn | jsonNumber | true | |||
| night | jsonNumber | true | |||
| uvi | jsonNumber | true | |||
| weather | jsonArray | true | |||
| [0] | jsonObject | false | |||
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true | |||
| time | jsonNumber | true |
| Column | Type | Req | Key | Description | Comments |
| city | jsonObject | true | |||
| data | jsonArray | true | |||
| time | jsonNumber | true |
| Property | Value |
| Business Name | V |
| Type | variant |
| Variant type | JSON |
| Not null | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| coord | jsonObject | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true |
| Property | Value |
| Business Name | city |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| lat | jsonNumber | true | |||
| lon | jsonNumber | true |
| Property | Value |
| Business Name | coord |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | lat |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 47.24678 |
| Property | Value |
| Business Name | lon |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 39.51088 |
| Property | Value |
| Business Name | country |
| Type | jsonString |
| Required | true |
| Sample | RU |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 554269 |
| Property | Value |
| Business Name | name |
| Type | jsonString |
| Required | true |
| Sample | Kalinin |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | data |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| clouds | jsonNumber | true | |||
| deg | jsonNumber | true | |||
| dt | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| rain | jsonNumber | false | |||
| snow | jsonNumber | false | |||
| speed | jsonNumber | true | |||
| temp | jsonObject | true | |||
| uvi | jsonNumber | true | |||
| weather | jsonArray | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | clouds |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 76 |
| Property | Value |
| Business Name | deg |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 59 |
| Property | Value |
| Business Name | dt |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1519812000 |
| Property | Value |
| Business Name | humidity |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 0 |
| Property | Value |
| Business Name | pressure |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1013.6 |
| Property | Value |
| Business Name | rain |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 0.33 |
| Property | Value |
| Business Name | snow |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 0.05 |
| Property | Value |
| Business Name | speed |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 5.19 |
| Column | Type | Req | Key | Description | Comments |
| day | jsonNumber | true | |||
| eve | jsonNumber | true | |||
| max | jsonNumber | true | |||
| min | jsonNumber | true | |||
| morn | jsonNumber | true | |||
| night | jsonNumber | true |
| Property | Value |
| Business Name | temp |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | day |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 265.55 |
| Property | Value |
| Business Name | eve |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 265.55 |
| Property | Value |
| Business Name | max |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 265.55 |
| Property | Value |
| Business Name | min |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 265.55 |
| Property | Value |
| Business Name | morn |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 265.55 |
| Property | Value |
| Business Name | night |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 265.55 |
| Property | Value |
| Business Name | uvi |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1.089 |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | weather |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | description |
| Type | jsonString |
| Required | true |
| Sample | light snow |
| Property | Value |
| Business Name | icon |
| Type | jsonString |
| Required | true |
| Sample | 13d |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 600 |
| Property | Value |
| Business Name | main |
| Type | jsonString |
| Required | true |
| Sample | Snow |
| Property | Value |
| Business Name | time |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1518500097 |
| Property | Value |
| Business Name | T |
| Type | timestamp_ntz |
| Precision | 9 |
| Primary key | true |
| Not null | true |
| Sample | 2018-02-12 21:34:57.000 |
CREATE OR REPLACE DATABASE "SNOWFLAKE_SAMPLE_DATA"; USE DATABASE "SNOWFLAKE_SAMPLE_DATA"; CREATE OR REPLACE SCHEMA "WEATHER" WITH MANAGED ACCESS DATA_RETENTION_TIME_IN_DAYS=1 COMMENT='From example described at https://docs.snowflake.com/en/user-guide/sample-data-openweathermap.html'; USE SCHEMA "WEATHER"; CREATE OR REPLACE TABLE "DAILY_16_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; | Property | Value |
| Table | HOURLY_14_TOTAL |
| Technical name | |
| Id | |
| Schema | WEATHER |
| Additional properties | false |
| Comments | |
| Temporary | |
| Transient | false |
| External | false |
| Primary key | |
| Cluster by | |
| [1] Expression | |
| Key | |
| Stage file format | CSV |
| Format type options | [object Object] |
| Stage copy options | |
| Data retention in days | 1 |
| Like | |
| Clone | |
| Copy grants | |
| Remarks | |
| Column | Type | Req | Key | Description | Comments |
| T | timestamp_ntz(9) | true | |||
| V | variant | true | |||
| city | jsonObject | true | |||
| coord | jsonObject | true | |||
| lat | jsonNumber | true | |||
| lon | jsonNumber | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true | |||
| data | jsonArray | true | |||
| [0] | jsonObject | false | |||
| clouds | jsonObject | true | |||
| all | jsonNumber | true | |||
| dt | jsonNumber | true | |||
| dt_txt | jsonString | true | |||
| main | jsonObject | true | |||
| grnd_level | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| sea_level | jsonNumber | true | |||
| temp | jsonNumber | true | |||
| temp_kf | jsonNumber | false | |||
| temp_max | jsonNumber | true | |||
| temp_min | jsonNumber | true | |||
| rain | jsonObject | false | |||
| 3h | jsonNumber | true | |||
| snow | jsonObject | false | |||
| 3h | jsonNumber | true | |||
| sys | jsonObject | true | |||
| pod | jsonString | true | |||
| weather | jsonArray | true | |||
| [0] | jsonObject | false | |||
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true | |||
| wind | jsonObject | true | |||
| deg | jsonNumber | true | |||
| speed | jsonNumber | true | |||
| time | jsonNumber | true |
| Column | Type | Req | Key | Description | Comments |
| city | jsonObject | true | |||
| data | jsonArray | true | |||
| time | jsonNumber | true |
| Property | Value |
| Business Name | V |
| Type | variant |
| Variant type | JSON |
| Not null | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| coord | jsonObject | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true |
| Property | Value |
| Business Name | city |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| lat | jsonNumber | true | |||
| lon | jsonNumber | true |
| Property | Value |
| Business Name | coord |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | lat |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 16.94516 |
| Property | Value |
| Business Name | lon |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 82.238503 |
| Property | Value |
| Business Name | country |
| Type | jsonString |
| Required | true |
| Sample | IN |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 7302846 |
| Property | Value |
| Business Name | name |
| Type | jsonString |
| Required | true |
| Sample | Ramanayyapeta |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | data |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| clouds | jsonObject | true | |||
| dt | jsonNumber | true | |||
| dt_txt | jsonString | true | |||
| main | jsonObject | true | |||
| rain | jsonObject | false | |||
| snow | jsonObject | false | |||
| sys | jsonObject | true | |||
| weather | jsonArray | true | |||
| wind | jsonObject | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| all | jsonNumber | true |
| Property | Value |
| Business Name | clouds |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | all |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 0 |
| Property | Value |
| Business Name | dt |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1518901200 |
| Property | Value |
| Business Name | dt_txt |
| Type | jsonString |
| Required | true |
| Sample | 2018-02-17 21:00:00 |
| Column | Type | Req | Key | Description | Comments |
| grnd_level | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| sea_level | jsonNumber | true | |||
| temp | jsonNumber | true | |||
| temp_kf | jsonNumber | false | |||
| temp_max | jsonNumber | true | |||
| temp_min | jsonNumber | true |
| Property | Value |
| Business Name | main |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | grnd_level |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1023.81 |
| Property | Value |
| Business Name | humidity |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 100 |
| Property | Value |
| Business Name | pressure |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1023.81 |
| Property | Value |
| Business Name | sea_level |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1023.92 |
| Property | Value |
| Business Name | temp |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 297.012 |
| Property | Value |
| Business Name | temp_kf |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Property | Value |
| Business Name | temp_max |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 297.012 |
| Property | Value |
| Business Name | temp_min |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 297.012 |
| Column | Type | Req | Key | Description | Comments |
| 3h | jsonNumber | true |
| Property | Value |
| Business Name | rain |
| Type | jsonObject |
| JSON Type | variant |
| Required | false |
| Additional properties | false |
| Property | Value |
| Business Name | 3h |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Column | Type | Req | Key | Description | Comments |
| 3h | jsonNumber | true |
| Property | Value |
| Business Name | snow |
| Type | jsonObject |
| JSON Type | variant |
| Required | false |
| Additional properties | false |
| Property | Value |
| Business Name | 3h |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Column | Type | Req | Key | Description | Comments |
| pod | jsonString | true |
| Property | Value |
| Business Name | sys |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | pod |
| Type | jsonString |
| Required | true |
| Sample | n |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | weather |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | description |
| Type | jsonString |
| Required | true |
| Sample | sky is clear |
| Property | Value |
| Business Name | icon |
| Type | jsonString |
| Required | true |
| Sample | 01n |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 800 |
| Property | Value |
| Business Name | main |
| Type | jsonString |
| Required | true |
| Sample | Clear |
| Column | Type | Req | Key | Description | Comments |
| deg | jsonNumber | true | |||
| speed | jsonNumber | true |
| Property | Value |
| Business Name | wind |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | deg |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 189.501 |
| Property | Value |
| Business Name | speed |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 2 |
| Property | Value |
| Business Name | time |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1518476660 |
| Property | Value |
| Business Name | T |
| Type | timestamp_ntz |
| Precision | 9 |
| Primary key | true |
| Not null | true |
| Sample | 2018-02-12 15:04:20.000 |
CREATE OR REPLACE DATABASE "SNOWFLAKE_SAMPLE_DATA"; USE DATABASE "SNOWFLAKE_SAMPLE_DATA"; CREATE OR REPLACE SCHEMA "WEATHER" WITH MANAGED ACCESS DATA_RETENTION_TIME_IN_DAYS=1 COMMENT='From example described at https://docs.snowflake.com/en/user-guide/sample-data-openweathermap.html'; USE SCHEMA "WEATHER"; CREATE OR REPLACE TABLE "HOURLY_14_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; | Property | Value |
| Table | HOURLY_16_TOTAL |
| Technical name | |
| Id | |
| Schema | WEATHER |
| Additional properties | false |
| Comments | |
| Temporary | |
| Transient | false |
| External | false |
| Primary key | |
| Cluster by | |
| [1] Expression | |
| Key | |
| Stage file format | CSV |
| Format type options | [object Object] |
| Stage copy options | |
| Data retention in days | 1 |
| Like | |
| Clone | |
| Copy grants | |
| Remarks | |
| Column | Type | Req | Key | Description | Comments |
| T | timestamp_ntz(9) | true | |||
| V | variant | true | |||
| city | jsonObject | true | |||
| coord | jsonObject | true | |||
| lat | jsonNumber | true | |||
| lon | jsonNumber | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true | |||
| data | jsonArray | true | |||
| [0] | jsonObject | false | |||
| clouds | jsonObject | true | |||
| all | jsonNumber | true | |||
| dt | jsonNumber | true | |||
| dt_txt | jsonString | true | |||
| main | jsonObject | true | |||
| grnd_level | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| sea_level | jsonNumber | true | |||
| temp | jsonNumber | true | |||
| temp_kf | jsonNumber | false | |||
| temp_max | jsonNumber | true | |||
| temp_min | jsonNumber | true | |||
| rain | jsonObject | false | |||
| 3h | jsonNumber | true | |||
| snow | jsonObject | false | |||
| 3h | jsonNumber | true | |||
| sys | jsonObject | true | |||
| pod | jsonString | true | |||
| weather | jsonArray | true | |||
| [0] | jsonObject | false | |||
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true | |||
| wind | jsonObject | true | |||
| deg | jsonNumber | true | |||
| speed | jsonNumber | true | |||
| time | jsonNumber | true |
| Column | Type | Req | Key | Description | Comments |
| city | jsonObject | true | |||
| data | jsonArray | true | |||
| time | jsonNumber | true |
| Property | Value |
| Business Name | V |
| Type | variant |
| Variant type | JSON |
| Not null | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| coord | jsonObject | true | |||
| country | jsonString | true | |||
| id | jsonNumber | true | |||
| name | jsonString | true |
| Property | Value |
| Business Name | city |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| lat | jsonNumber | true | |||
| lon | jsonNumber | true |
| Property | Value |
| Business Name | coord |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | lat |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 13.46667 |
| Property | Value |
| Business Name | lon |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 79.116669 |
| Property | Value |
| Business Name | country |
| Type | jsonString |
| Required | true |
| Sample | IN |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1260830 |
| Property | Value |
| Business Name | name |
| Type | jsonString |
| Required | true |
| Sample | Pakala |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | data |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| clouds | jsonObject | true | |||
| dt | jsonNumber | true | |||
| dt_txt | jsonString | true | |||
| main | jsonObject | true | |||
| rain | jsonObject | false | |||
| snow | jsonObject | false | |||
| sys | jsonObject | true | |||
| weather | jsonArray | true | |||
| wind | jsonObject | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| all | jsonNumber | true |
| Property | Value |
| Business Name | clouds |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | all |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 8 |
| Property | Value |
| Business Name | dt |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1518901200 |
| Property | Value |
| Business Name | dt_txt |
| Type | jsonString |
| Required | true |
| Sample | 2018-02-17 21:00:00 |
| Column | Type | Req | Key | Description | Comments |
| grnd_level | jsonNumber | true | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| sea_level | jsonNumber | true | |||
| temp | jsonNumber | true | |||
| temp_kf | jsonNumber | false | |||
| temp_max | jsonNumber | true | |||
| temp_min | jsonNumber | true |
| Property | Value |
| Business Name | main |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | grnd_level |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1006.21 |
| Property | Value |
| Business Name | humidity |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 80 |
| Property | Value |
| Business Name | pressure |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1006.21 |
| Property | Value |
| Business Name | sea_level |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1027.49 |
| Property | Value |
| Business Name | temp |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 279.637 |
| Property | Value |
| Business Name | temp_kf |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Property | Value |
| Business Name | temp_max |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 279.637 |
| Property | Value |
| Business Name | temp_min |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 279.637 |
| Column | Type | Req | Key | Description | Comments |
| 3h | jsonNumber | true |
| Property | Value |
| Business Name | rain |
| Type | jsonObject |
| JSON Type | variant |
| Required | false |
| Additional properties | false |
| Property | Value |
| Business Name | 3h |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 0 |
| Column | Type | Req | Key | Description | Comments |
| 3h | jsonNumber | true |
| Property | Value |
| Business Name | snow |
| Type | jsonObject |
| JSON Type | variant |
| Required | false |
| Additional properties | false |
| Property | Value |
| Business Name | 3h |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Column | Type | Req | Key | Description | Comments |
| pod | jsonString | true |
| Property | Value |
| Business Name | sys |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | pod |
| Type | jsonString |
| Required | true |
| Sample | n |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | weather |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | description |
| Type | jsonString |
| Required | true |
| Sample | sky is clear |
| Property | Value |
| Business Name | icon |
| Type | jsonString |
| Required | true |
| Sample | 02n |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 800 |
| Property | Value |
| Business Name | main |
| Type | jsonString |
| Required | true |
| Sample | Clear |
| Column | Type | Req | Key | Description | Comments |
| deg | jsonNumber | true | |||
| speed | jsonNumber | true |
| Property | Value |
| Business Name | wind |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | deg |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 230.001 |
| Property | Value |
| Business Name | speed |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1.9 |
| Property | Value |
| Business Name | time |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1518498070 |
| Property | Value |
| Business Name | T |
| Type | timestamp_ntz |
| Precision | 9 |
| Primary key | true |
| Not null | true |
| Sample | 2018-02-12 21:01:10.000 |
CREATE OR REPLACE DATABASE "SNOWFLAKE_SAMPLE_DATA"; USE DATABASE "SNOWFLAKE_SAMPLE_DATA"; CREATE OR REPLACE SCHEMA "WEATHER" WITH MANAGED ACCESS DATA_RETENTION_TIME_IN_DAYS=1 COMMENT='From example described at https://docs.snowflake.com/en/user-guide/sample-data-openweathermap.html'; USE SCHEMA "WEATHER"; CREATE OR REPLACE TABLE "HOURLY_16_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; | Property | Value |
| Table | WEATHER_14_TOTAL |
| Technical name | |
| Id | |
| Schema | WEATHER |
| Additional properties | false |
| Comments | |
| Temporary | |
| Transient | false |
| External | false |
| Primary key | |
| Cluster by | |
| [1] Expression | |
| Key | |
| Stage file format | CSV |
| Format type options | [object Object] |
| Stage copy options | |
| Data retention in days | 1 |
| Like | |
| Clone | |
| Copy grants | |
| Remarks | |
| Column | Type | Req | Key | Description | Comments |
| T | timestamp_ntz(9) | true | |||
| V | variant | true | |||
| city | jsonObject | true | |||
| coord | jsonObject | true | |||
| lat | jsonNumber | true | |||
| lon | jsonNumber | true | |||
| country | jsonString | true | |||
| findname | jsonString | true | |||
| id | jsonNumber | true | |||
| langs | jsonArray | false | |||
| [0] | jsonObject | false | |||
| abbr | jsonString | false | |||
| ang | jsonString | false | |||
| fil | jsonString | false | |||
| frp | jsonString | false | |||
| iata | jsonString | false | |||
| jbo | jsonString | false | |||
| link | jsonString | false | |||
| nds | jsonString | false | |||
| nrm | jsonString | false | |||
| pdc | jsonString | false | |||
| pms | jsonString | false | |||
| post | jsonString | false | |||
| scn | jsonString | false | |||
| syl | jsonString | false | |||
| ^[a-zA-Z0-9_.-]{2}$ | jsonString | false | |||
| name | jsonString | true | |||
| zoom | jsonNumber | true | |||
| clouds | jsonObject | true | |||
| all | jsonNumber | true | |||
| main | jsonObject | true | |||
| grnd_level | jsonNumber | false | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| sea_level | jsonNumber | false | |||
| temp | jsonNumber | true | |||
| temp_max | jsonNumber | true | |||
| temp_min | jsonNumber | true | |||
| rain | jsonObject | false | |||
| 3h | jsonNumber | true | |||
| time | jsonNumber | true | |||
| weather | jsonArray | true | |||
| [0] | jsonObject | false | |||
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true | |||
| wind | jsonObject | true | |||
| deg | jsonNumber | true | |||
| gust | jsonNumber | false | |||
| speed | jsonNumber | true | |||
| var_beg | jsonNumber | false | |||
| var_end | jsonNumber | false |
| Column | Type | Req | Key | Description | Comments |
| city | jsonObject | true | |||
| clouds | jsonObject | true | |||
| main | jsonObject | true | |||
| rain | jsonObject | false | |||
| time | jsonNumber | true | |||
| weather | jsonArray | true | |||
| wind | jsonObject | true |
| Property | Value |
| Business Name | V |
| Type | variant |
| Variant type | JSON |
| Not null | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| coord | jsonObject | true | |||
| country | jsonString | true | |||
| findname | jsonString | true | |||
| id | jsonNumber | true | |||
| langs | jsonArray | false | |||
| name | jsonString | true | |||
| zoom | jsonNumber | true |
| Property | Value |
| Business Name | city |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Column | Type | Req | Key | Description | Comments |
| lat | jsonNumber | true | |||
| lon | jsonNumber | true |
| Property | Value |
| Business Name | coord |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | lat |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | -5.89583 |
| Property | Value |
| Business Name | lon |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 22.41778 |
| Property | Value |
| Business Name | country |
| Type | jsonString |
| Required | true |
| Sample | CD |
| Property | Value |
| Business Name | findname |
| Type | jsonString |
| Required | true |
| Sample | KANANGA |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 214481 |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | langs |
| Type | jsonArray |
| JSON Type | variant |
| Required | false |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| abbr | jsonString | false | |||
| ang | jsonString | false | |||
| fil | jsonString | false | |||
| frp | jsonString | false | |||
| iata | jsonString | false | |||
| jbo | jsonString | false | |||
| link | jsonString | false | |||
| nds | jsonString | false | |||
| nrm | jsonString | false | |||
| pdc | jsonString | false | |||
| pms | jsonString | false | |||
| post | jsonString | false | |||
| scn | jsonString | false | |||
| syl | jsonString | false | |||
| ^[a-zA-Z0-9_.-]{2}$ | jsonString | false |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | abbr |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | ang |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | fil |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | frp |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | iata |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | jbo |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | link |
| Type | jsonString |
| Required | false |
| Sample | http://en.wikipedia.org/wiki/Istanbul_Province |
| Property | Value |
| Business Name | nds |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | nrm |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | pdc |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | pms |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | post |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | scn |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | syl |
| Type | jsonString |
| Required | false |
| Property | Value |
| Business Name | ^[a-zA-Z0-9_.-]{2}$ |
| Sample Name | zh |
| Type | jsonString |
| Property | Value |
| Business Name | name |
| Type | jsonString |
| Required | true |
| Sample | Kananga |
| Property | Value |
| Business Name | zoom |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 7 |
| Column | Type | Req | Key | Description | Comments |
| all | jsonNumber | true |
| Property | Value |
| Business Name | clouds |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | all |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 80 |
| Column | Type | Req | Key | Description | Comments |
| grnd_level | jsonNumber | false | |||
| humidity | jsonNumber | true | |||
| pressure | jsonNumber | true | |||
| sea_level | jsonNumber | false | |||
| temp | jsonNumber | true | |||
| temp_max | jsonNumber | true | |||
| temp_min | jsonNumber | true |
| Property | Value |
| Business Name | main |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | grnd_level |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 952.29 |
| Property | Value |
| Business Name | humidity |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 94 |
| Property | Value |
| Business Name | pressure |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 952.29 |
| Property | Value |
| Business Name | sea_level |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 1022.32 |
| Property | Value |
| Business Name | temp |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 294.914 |
| Property | Value |
| Business Name | temp_max |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 294.914 |
| Property | Value |
| Business Name | temp_min |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 294.914 |
| Column | Type | Req | Key | Description | Comments |
| 3h | jsonNumber | true |
| Property | Value |
| Business Name | rain |
| Type | jsonObject |
| JSON Type | variant |
| Required | false |
| Additional properties | false |
| Property | Value |
| Business Name | 3h |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 0.825 |
| Property | Value |
| Business Name | time |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1518490964 |
| Column | Type | Req | Key | Description | Comments |
| [0] | jsonObject | false |
| Property | Value |
| Business Name | weather |
| Type | jsonArray |
| JSON Type | variant |
| Required | true |
| Unique items | false |
| Additional items | true |
| Column | Type | Req | Key | Description | Comments |
| description | jsonString | true | |||
| icon | jsonString | true | |||
| id | jsonNumber | true | |||
| main | jsonString | true |
| Property | Value |
| Type | jsonObject |
| JSON Type | variant |
| Additional properties | false |
| Property | Value |
| Business Name | description |
| Type | jsonString |
| Required | true |
| Sample | mist |
| Property | Value |
| Business Name | icon |
| Type | jsonString |
| Required | true |
| Sample | 50d |
| Property | Value |
| Business Name | id |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 701 |
| Property | Value |
| Business Name | main |
| Type | jsonString |
| Required | true |
| Sample | Mist |
| Column | Type | Req | Key | Description | Comments |
| deg | jsonNumber | true | |||
| gust | jsonNumber | false | |||
| speed | jsonNumber | true | |||
| var_beg | jsonNumber | false | |||
| var_end | jsonNumber | false |
| Property | Value |
| Business Name | wind |
| Type | jsonObject |
| JSON Type | variant |
| Required | true |
| Additional properties | false |
| Property | Value |
| Business Name | deg |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 133.002 |
| Property | Value |
| Business Name | gust |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 9.8 |
| Property | Value |
| Business Name | speed |
| Type | jsonNumber |
| Required | true |
| Excl min | false |
| Excl max | false |
| Sample | 1.21 |
| Property | Value |
| Business Name | var_beg |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 270 |
| Property | Value |
| Business Name | var_end |
| Type | jsonNumber |
| Required | false |
| Excl min | false |
| Excl max | false |
| Sample | 330 |
| Property | Value |
| Business Name | T |
| Type | timestamp_ntz |
| Precision | 9 |
| Primary key | true |
| Not null | true |
| Sample | 2018-02-12 19:02:44.000 |
CREATE OR REPLACE DATABASE "SNOWFLAKE_SAMPLE_DATA"; USE DATABASE "SNOWFLAKE_SAMPLE_DATA"; CREATE OR REPLACE SCHEMA "WEATHER" WITH MANAGED ACCESS DATA_RETENTION_TIME_IN_DAYS=1 COMMENT='From example described at https://docs.snowflake.com/en/user-guide/sample-data-openweathermap.html'; USE SCHEMA "WEATHER"; CREATE OR REPLACE TABLE "WEATHER_14_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; CREATE OR REPLACE DATABASE "SNOWFLAKE_SAMPLE_DATA"; USE DATABASE "SNOWFLAKE_SAMPLE_DATA"; CREATE OR REPLACE SCHEMA "WEATHER" WITH MANAGED ACCESS DATA_RETENTION_TIME_IN_DAYS=1 COMMENT='From example described at https://docs.snowflake.com/en/user-guide/sample-data-openweathermap.html'; USE SCHEMA "WEATHER"; CREATE OR REPLACE TABLE "DAILY_14_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; CREATE OR REPLACE TABLE "DAILY_16_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; CREATE OR REPLACE TABLE "HOURLY_14_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; CREATE OR REPLACE TABLE "HOURLY_16_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1; CREATE OR REPLACE TABLE "WEATHER_14_TOTAL" ( "V" VARIANT NOT NULL, "T" TIMESTAMP_NTZ(9) NOT NULL PRIMARY KEY ) STAGE_FILE_FORMAT = ( TYPE=CSV COMPRESSION=AUTO RECORD_DELIMITER='\\n' FIELD_DELIMITER=',' FILE_EXTENSION='' SKIP_HEADER=0 DATE_FORMAT=AUTO TIME_FORMAT=AUTO TIMESTAMP_FORMAT=AUTO BINARY_FORMAT=HEX ESCAPE=NONE ESCAPE_UNENCLOSED_FIELD='\\' TRIM_SPACE=FALSE FIELD_OPTIONALLY_ENCLOSED_BY=NONE NULL_IF=('\\N') ERROR_ON_COLUMN_COUNT_MISMATCH=TRUE VALIDATE_UTF8=TRUE EMPTY_FIELD_AS_NULL=TRUE SKIP_BYTE_ORDER_MARK=TRUE ENCODING='UTF8' ) DATA_RETENTION_TIME_IN_DAYS=1;