Argument Types and Rules - Analytics Database - Teradata Vantage

Geospatial Data Types

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-08-30
dita:mapPath
qgk1628112272483.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ghz1472251264557
lifecycle
latest
Product Category
Teradata Vantageā„¢

The data type of an argument that you pass to a geospatial system function does not need to exactly match the corresponding declared argument type as described in the function description. If the argument type is a compatible type, as listed in the following table, the system tries to implicitly cast the argument.

Declared Argument Type Compatible Argument Types
DECIMAL BYTEINT, SMALLINT, INTEGER, or BIGINT
FLOAT BYTEINT, SMALLINT, INTEGER, BIGINT, DECIMAL, or NUMERIC
INTEGER BYTEINT or SMALLINT
VARCHAR CHAR

To pass an argument where the data type is not an exact match and is not a compatible type according to the preceding table, you must explicitly convert the argument.