16.20 - Result Rows - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ Geospatial Data Types

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1181-162K
Language
English (United States)

The columns in the table that Tessellate_Search returns are as follows.

Column Name Data Type Description
out_key DECIMAL(18,0) A copy of the in_key input argument.
cellID INTEGER The INTEGER value that is returned codes for the cell number and level. The upper 28 bits identifies the cell number, and the lower four bits identifies the level. Use:
cellid  / 16

to derive the cell number and:

cellid  MOD 16

to derive the level.

Here is an example that shows the cell numbering of a single-level grid (of unspecified size) that contains 16 cells.