mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
add tests
This commit is contained in:
parent
7c9a581af6
commit
8076dd8cf5
@ -0,0 +1,80 @@
|
||||
583031433791012863
|
||||
587531185127686143
|
||||
583031433791012863
|
||||
587531185127686143
|
||||
607221000000
|
||||
86745854035
|
||||
607220.9782
|
||||
86745.85403
|
||||
4106166334463.9233
|
||||
85294486110.07852
|
||||
12781831077.715292
|
||||
0.10116268528089567
|
||||
0.002101380838405832
|
||||
0.00031490306268786255
|
||||
0
|
||||
2
|
||||
3
|
||||
9.961887434044831
|
||||
3.7652395323603707
|
||||
1.4231267757782213
|
||||
1107712.591
|
||||
418676.0055
|
||||
158244.6558
|
||||
1107.712591
|
||||
418.6760055
|
||||
158.2446558
|
||||
(-173.6412167681162,-14.130272474941535)
|
||||
(172.68095885060296,-83.6576608516349)
|
||||
(-94.46556851304558,-69.1999982492279)
|
||||
[(-25.60370257696877,-170.61932339479839),(-16.505947603561054,-161.6348206171839),(-5.762860491436932,-165.41674992858833),(-3.968796976609588,-176.05696384421356),(-11.54529597541476,175.98600155652952),(-22.19754138630238,177.51613498805204)]
|
||||
[(-82.24829137508873,167.18203088800593),(-83.41761096812805,158.00531624510785),(-84.94207431820979,162.09183616506846),(-85.00324300064887,-178.60454506450245),(-83.46691212211444,-172.41232929697492),(-82.25118471750908,179.4928586395771)]
|
||||
[(-69.70201806837188,-95.63006768303532),(-69.78121889088241,-93.8329499937899),(-69.26603652285242,-92.70414199751751),(-68.6908704290193,-93.35479180342097),(-68.62037380778602,-95.0614247833063),(-69.11663254992226,-96.20491957306085)]
|
||||
[579275502070530047,579768083279773695,578888473977552895,579662530163507199,579205133326352383,578466261512486911,578712552117108735]
|
||||
[578888473977552895,580225480116928511,579979189512306687,578114417791598591,578079233419509759,578712552117108735,579310686442618879,578606999000842239,578571814628753407,579205133326352383,579275502070530047,578466261512486911,579240317698441215,577727389698621439,579838452023951359,579662530163507199,579768083279773695,580331033233195007]
|
||||
[577375545977733119,578431077140398079,579099580210085887,579732898907684863,580612508209905663,579275502070530047,580190295744839679,577094071001022463,578606999000842239,579029211465908223,577727389698621439,579240317698441215,579662530163507199,578571814628753407,580331033233195007,580295848861106175,579205133326352383,577903311559065599,578114417791598591,579838452023951359,577445914721910783,577868127186976767,578079233419509759,579592161419329535,578501445884575743,578712552117108735,580225480116928511,580471770721550335,580647692581994495,578466261512486911,579768083279773695,578888473977552895,579979189512306687,579310686442618879]
|
||||
77
|
||||
121
|
||||
116
|
||||
1
|
||||
0
|
||||
1
|
||||
[603909588852408319,603909588986626047,603909589120843775,603909589255061503,603909589389279231,603909589523496959,603909589657714687]
|
||||
[599405990164561919]
|
||||
576918149140578303
|
||||
581395360488882175
|
||||
809bfffffffffff
|
||||
82f39ffffffffff
|
||||
83e9abfffffffff
|
||||
579205133326352383
|
||||
589753847883235327
|
||||
594082350283882495
|
||||
0
|
||||
0
|
||||
1
|
||||
0
|
||||
1
|
||||
0
|
||||
1
|
||||
[7]
|
||||
[1,6,11,7,2]
|
||||
[7]
|
||||
[1,6,11,7,2]
|
||||
581496515558637567
|
||||
585996266895310847
|
||||
590499385486344191
|
||||
1263609.6633631135
|
||||
1263609.663363112
|
||||
1263609.6633631124
|
||||
1263609.6633631117
|
||||
1263.6096633631134
|
||||
1263.6096633631118
|
||||
1263.6096633631123
|
||||
1263.6096633631116
|
||||
0.19833750417794152
|
||||
0.19833750417794127
|
||||
0.19833750417794133
|
||||
0.19833750417794122
|
||||
842
|
||||
5882
|
||||
41162
|
27
tests/queries/0_stateless/02223_h3_test_const_columns.sql
Normal file
27
tests/queries/0_stateless/02223_h3_test_const_columns.sql
Normal file
@ -0,0 +1,27 @@
|
||||
select geoToH3(toFloat64(0),toFloat64(1),arrayJoin([1,2]));
|
||||
select h3ToParent(641573946153969375, arrayJoin([1,2]));
|
||||
SELECT h3HexAreaM2(arrayJoin([1,2]));
|
||||
SELECT h3HexAreaKm2(arrayJoin([1,2]));
|
||||
SELECT h3CellAreaM2(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT h3CellAreaRads2(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT h3GetResolution(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT h3EdgeAngle(arrayJoin([0,1,2]));
|
||||
SELECT h3EdgeLengthM(arrayJoin([0,1,2]));
|
||||
SELECT h3EdgeLengthKm(arrayJoin([0,1,2]));
|
||||
SELECT h3ToGeo(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT h3ToGeoBoundary(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT h3kRing(arrayJoin([579205133326352383]), arrayJoin([toUInt16(1),toUInt16(2),toUInt16(3)]));
|
||||
SELECT h3GetBaseCell(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT h3IndexesAreNeighbors(617420388351344639, arrayJoin([617420388352655359, 617420388351344639, 617420388352917503]));
|
||||
SELECT h3ToChildren(599405990164561919, arrayJoin([6,5]));
|
||||
SELECT h3ToParent(599405990164561919, arrayJoin([0,1]));
|
||||
SELECT h3ToString(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT stringToH3(h3ToString(arrayJoin([579205133326352383,589753847883235327,594082350283882495])));
|
||||
SELECT h3IsResClassIII(arrayJoin([579205133326352383,589753847883235327,594082350283882495]));
|
||||
SELECT h3IsPentagon(arrayJoin([stringToH3('8f28308280f18f2'),stringToH3('821c07fffffffff'),stringToH3('0x8f28308280f18f2L'),stringToH3('0x821c07fffffffffL')]));
|
||||
SELECT h3GetFaces(arrayJoin([stringToH3('8f28308280f18f2'),stringToH3('821c07fffffffff'),stringToH3('0x8f28308280f18f2L'),stringToH3('0x821c07fffffffffL')]));
|
||||
SELECT h3ToCenterChild(577023702256844799, arrayJoin([1,2,3]));
|
||||
SELECT h3ExactEdgeLengthM(arrayJoin([1298057039473278975,1370114633511206911,1442172227549134847,1514229821587062783]));
|
||||
SELECT h3ExactEdgeLengthKm(arrayJoin([1298057039473278975,1370114633511206911,1442172227549134847,1514229821587062783]));
|
||||
SELECT h3ExactEdgeLengthRads(arrayJoin([1298057039473278975,1370114633511206911,1442172227549134847,1514229821587062783]));
|
||||
SELECT h3NumHexagons(arrayJoin([1,2,3]));
|
Loading…
Reference in New Issue
Block a user