h3ToGeo - add tests

This commit is contained in:
bharatnc 2021-06-02 09:46:02 -07:00
parent 4487745dde
commit 1284a04a8b
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,4 @@
(37.79506616830252,55.71290243145668)
(37.79507532320379,55.712909934159995)
(37.79510864783612,55.71292405516229)
(37.79511780275313,55.712931557864124)

View 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;