ClickHouse/tests/queries/0_stateless/02292_h3_unidirectional_funcs.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
1.6 KiB
MySQL
Raw Normal View History

2022-05-04 22:55:05 +00:00
-- Tags: no-fasttest
SELECT h3GetDestinationIndexFromUnidirectionalEdge(1248204388774707197);
SELECT h3GetDestinationIndexFromUnidirectionalEdge(599686042433355773);
2022-05-25 01:46:45 +00:00
SELECT h3GetDestinationIndexFromUnidirectionalEdge(stringToH3('85283473ffffff'));
2022-05-04 22:55:05 +00:00
SELECT h3GetIndexesFromUnidirectionalEdge(1248204388774707199);
SELECT h3GetIndexesFromUnidirectionalEdge(599686042433355775);
2022-05-25 01:46:45 +00:00
SELECT h3GetIndexesFromUnidirectionalEdge(stringToH3('85283473ffffff'));
2022-05-04 22:55:05 +00:00
SELECT h3GetOriginIndexFromUnidirectionalEdge(1248204388774707199);
SELECT h3GetOriginIndexFromUnidirectionalEdge(1248204388774707197);
SELECT h3GetOriginIndexFromUnidirectionalEdge(599686042433355775);
2022-05-25 01:46:45 +00:00
SELECT h3GetOriginIndexFromUnidirectionalEdge(stringToH3('85283473ffffff'));
2022-05-04 22:55:05 +00:00
SELECT h3GetUnidirectionalEdgeBoundary(1248204388774707199);
SELECT h3GetUnidirectionalEdgeBoundary(599686042433355773);
2022-05-25 01:46:45 +00:00
SELECT h3GetUnidirectionalEdgeBoundary(stringToH3('85283473ffffff'));
2022-05-04 22:55:05 +00:00
SELECT h3GetUnidirectionalEdgesFromHexagon(1248204388774707199);
SELECT h3GetUnidirectionalEdgesFromHexagon(599686042433355773);
2022-05-25 01:46:45 +00:00
SELECT h3GetUnidirectionalEdgesFromHexagon(stringToH3('85283473ffffff'));
2022-05-04 22:55:05 +00:00
select h3GetUnidirectionalEdge(stringToH3('85283473fffffff'), stringToH3('85283477fffffff'));
select h3GetUnidirectionalEdge(stringToH3('85283473fffffff'), stringToH3('85283473fffffff'));
2022-05-25 01:46:45 +00:00
SELECT h3GetUnidirectionalEdge(stringToH3('85283473ffffff'), stringToH3('852\03477fffffff')); -- { serverError 43 }
2022-05-04 22:55:05 +00:00
SELECT h3UnidirectionalEdgeIsValid(1248204388774707199) as edge;
SELECT h3UnidirectionalEdgeIsValid(1248204388774707197) as edge;
2022-05-25 01:46:45 +00:00
SELECT h3UnidirectionalEdgeIsValid(stringToH3('85283473ffffff')) as edge;