mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
fix tests
This commit is contained in:
parent
6fc6acf93b
commit
f8d54b514f
@ -79,6 +79,6 @@
|
||||
5882
|
||||
41162
|
||||
[599686042433355775,599686043507097599,599686023106002943]
|
||||
[579768083279773695,579662530163507199,578888473977552895,578466261512486911,578712552117108735]
|
||||
[580331033233195007,580225480116928511,579979189512306687,579310686442618879,578606999000842239,578114417791598591,577727389698621439,578079233419509759,578571814628753407,579275502070530047,579768083279773695,579662530163507199]
|
||||
[580647692581994495,580612508209905663]
|
||||
[581276613233082367]
|
||||
[581518505791193087,581500913605148671,581764796395814911,581259021047037951,581250224954015743,581267817140060159]
|
||||
[581514107744681983,581496515558637567,581509709698170879,581760398349303807,581742806163259391,581747204209770495,581549292116770815,581263419093549055,581254623000526847,581272215186571263,581122681605193727,581118283558682623]
|
||||
|
@ -30,4 +30,5 @@ SELECT h3ExactEdgeLengthKm(arrayJoin([1298057039473278975,1370114633511206911,14
|
||||
SELECT h3ExactEdgeLengthRads(arrayJoin([1298057039473278975,1370114633511206911,1442172227549134847,1514229821587062783]));
|
||||
SELECT h3NumHexagons(arrayJoin([1,2,3]));
|
||||
SELECT h3Line(arrayJoin([stringToH3('85283473fffffff')]), arrayJoin([stringToH3('8528342bfffffff')]));
|
||||
SELECT h3HexRing(arrayJoin([579205133326352383]), arrayJoin([toUInt16(1),toUInt16(2),toUInt16(3)]));
|
||||
SELECT h3HexRing(arrayJoin([579205133326352383]), arrayJoin([toUInt16(1),toUInt16(2),toUInt16(3)])); -- { serverError 117 }
|
||||
SELECT h3HexRing(arrayJoin([581276613233082367]), arrayJoin([toUInt16(0),toUInt16(1),toUInt16(2)]));
|
||||
|
@ -1,5 +1,6 @@
|
||||
[578466261512486911,578712552117108735,578888473977552895,579662530163507199,579768083279773695]
|
||||
[581276613233082367]
|
||||
[580995138256371711,581144671837749247,581166662070304767,581171060116815871,581267817140060159,581272215186571263,581276613233082367,581531699930726399,581536097977237503,581558088209793023,581747204209770495,581764796395814911]
|
||||
[581250224954015743,581259021047037951,581267817140060159,581500913605148671,581518505791193087,581764796395814911]
|
||||
[589624655266971647,589625205022785535,589626854290227199,589642797208829951,589644996232085503,589708767906496511,589709317662310399,589709867418124287,589714815220449279,589715914732077055,589725810336727039,589727459604168703,589728009359982591,589735156185563135,589736255697190911,589742303011143679,589744502034399231,589745051790213119]
|
||||
[594053281945223167,594053419384176639,594054106578943999,594054244017897471,594054450176327679,594055343529525247,594055618407432191,594064277061500927,594064345780977663,594071698764988415,594071767484465151,594072111081848831,594072317240279039,594072523398709247,594072592118185983,594079532785336319,594079807663243263,594081044613824511,594081113333301247,594081319491731455,594081594369638399,594081731808591871,594081937967022079,594082762600742911]
|
||||
[598346591383846911,598346814722146303,598346840491950079,598346849081884671,598346960751034367,598346977930903551,598348884896382975,598348910666186751,598348919256121343,598349168364224511,598349176954159103,598356710326796287,598356718916730879,598356761866403839,598356779046273023,598356796226142207,598356821995945983,598371905921089535,598371923100958719,598372687605137407,598372704785006591,598372807864221695,598372842223960063,598373580958334975,598373589548269567,598373830066438143,598373864426176511,598374783549177855,598374792139112447,598374800729047039]
|
||||
|
@ -1,3 +1,10 @@
|
||||
-- Tags: no-fasttest
|
||||
|
||||
SELECT h3HexRing(581276613233082367, toUInt16(0));
|
||||
SELECT h3HexRing(579205132326352334, toUInt16(1)) as hexRing; -- { serverError 117 }
|
||||
SELECT h3HexRing(581276613233082367, -1); -- { serverError 43 }
|
||||
SELECT h3HexRing(581276613233082367, toUInt16(-1)); -- { serverError 12 }
|
||||
|
||||
DROP TABLE IF EXISTS h3_indexes;
|
||||
|
||||
-- Test h3 indices and k selected from original test fixture: https://github.com/uber/h3/blob/master/src/apps/testapps
|
||||
@ -5,7 +12,7 @@ DROP TABLE IF EXISTS h3_indexes;
|
||||
CREATE TABLE h3_indexes (h3_index UInt64, k UInt16) ENGINE = Memory;
|
||||
|
||||
|
||||
INSERT INTO h3_indexes VALUES (579205133326352383,1);
|
||||
INSERT INTO h3_indexes VALUES (581276613233082367,1);
|
||||
INSERT INTO h3_indexes VALUES (581263419093549055,2);
|
||||
INSERT INTO h3_indexes VALUES (589753847883235327,3);
|
||||
INSERT INTO h3_indexes VALUES (594082350283882495,4);
|
||||
|
Loading…
Reference in New Issue
Block a user