Skip to content

Commit c5a661c

Browse files
authored
feat: add region and subregion columns to country_mapping datasources (IN-1188) (#4297)
Signed-off-by: Gašper Grom <gasper.grom@gmail.com>
1 parent 5ab88b0 commit c5a661c

6 files changed

Lines changed: 1835 additions & 7 deletions

File tree

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
SCHEMA >
2-
`country` String,
3-
`flag` String,
4-
`country_code` String,
5-
`timezone_offset` Int16
2+
`country` String `json:$.country`,
3+
`flag` String `json:$.flag`,
4+
`country_code` String `json:$.country_code`,
5+
`timezone_offset` Int16 `json:$.timezone_offset`,
6+
`region` String `json:$.region`,
7+
`subregion` String `json:$.subregion`
68

79
ENGINE MergeTree
810
ENGINE_SORTING_KEY flag, country_code, timezone_offset
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
SCHEMA >
2-
`country` String,
3-
`country_code` String,
4-
`timezone_offset` Int16
2+
`country` String `json:$.country`,
3+
`country_code` String `json:$.country_code`,
4+
`timezone_offset` Int16 `json:$.timezone_offset`,
5+
`region` String `json:$.region`,
6+
`subregion` String `json:$.subregion`
57

68
ENGINE MergeTree
79
ENGINE_SORTING_KEY country, timezone_offset

0 commit comments

Comments
 (0)