mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
29 lines
1.1 KiB
SQL
29 lines
1.1 KiB
SQL
-- Tags: no-fasttest
|
|
|
|
DROP TABLE IF EXISTS h3_indexes;
|
|
|
|
CREATE TABLE h3_indexes (h3_index UInt64) ENGINE = Memory;
|
|
|
|
-- Coordinates from h3ToGeo test.
|
|
|
|
INSERT INTO h3_indexes VALUES (579205133326352383);
|
|
INSERT INTO h3_indexes VALUES (581263419093549055);
|
|
INSERT INTO h3_indexes VALUES (589753847883235327);
|
|
INSERT INTO h3_indexes VALUES (594082350283882495);
|
|
INSERT INTO h3_indexes VALUES (598372386957426687);
|
|
INSERT INTO h3_indexes VALUES (599542359671177215);
|
|
INSERT INTO h3_indexes VALUES (604296355086598143);
|
|
INSERT INTO h3_indexes VALUES (608785214872748031);
|
|
INSERT INTO h3_indexes VALUES (615732192485572607);
|
|
INSERT INTO h3_indexes VALUES (617056794467368959);
|
|
INSERT INTO h3_indexes VALUES (624586477873168383);
|
|
INSERT INTO h3_indexes VALUES (627882919484481535);
|
|
INSERT INTO h3_indexes VALUES (634600058503392255);
|
|
INSERT INTO h3_indexes VALUES (635544851677385791);
|
|
INSERT INTO h3_indexes VALUES (639763125756281263);
|
|
INSERT INTO h3_indexes VALUES (644178757620501158);
|
|
|
|
SELECT arrayMap(p -> (round(p.1, 2), round(p.2, 2)), h3ToGeoBoundary(h3_index)) FROM h3_indexes ORDER BY h3_index;
|
|
|
|
DROP TABLE h3_indexes;
|