mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
h3ToGeo - add tests
This commit is contained in:
parent
4487745dde
commit
1284a04a8b
4
tests/queries/0_stateless/01889_h3_to_geo.reference
Normal file
4
tests/queries/0_stateless/01889_h3_to_geo.reference
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
(37.79506616830252,55.71290243145668)
|
||||||
|
(37.79507532320379,55.712909934159995)
|
||||||
|
(37.79510864783612,55.71292405516229)
|
||||||
|
(37.79511780275313,55.712931557864124)
|
12
tests/queries/0_stateless/01889_h3_to_geo.sql
Normal file
12
tests/queries/0_stateless/01889_h3_to_geo.sql
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
DROP TABLE IF EXISTS h3_indexes;
|
||||||
|
|
||||||
|
CREATE TABLE h3_indexes (h3_index UInt64) ENGINE = Memory;
|
||||||
|
|
||||||
|
INSERT INTO h3_indexes VALUES(644325524701193974);
|
||||||
|
INSERT INTO h3_indexes VALUES(644325524701193975);
|
||||||
|
INSERT INTO h3_indexes VALUES(644325524701193976);
|
||||||
|
INSERT INTO h3_indexes VALUES(644325524701193977);
|
||||||
|
|
||||||
|
select h3ToGeo(h3_index) from h3_indexes;
|
||||||
|
|
||||||
|
DROP TABLE h3_indexes;
|
Loading…
Reference in New Issue
Block a user