GEOGRAPHY
Data Type and usages
Description
Sample Source Patterns
GEOGRAPHY output format
BigQuery
CREATE OR REPLACE TABLE test.geographyType
(
COL1 GEOGRAPHY
);
INSERT INTO test.geographyType VALUES
(ST_GEOGFROMTEXT('POINT(-122.35 37.55)')), (ST_GEOGFROMTEXT('LINESTRING(-124.20 42.00, -120.01 41.99)'));
SELECT COL1 FROM test.geographyType;
SELECT * FROM test.geographyType; POINT(-122.35 37.55)
LINESTRING(-124.2 42, -120.01 41.99)
POINT(-122.35 37.55)
LINESTRING(-124.2 42, -120.01 41.99)Snowflake
Insert GEOGRAPHY data
Sample Source
Observations
Related EWI's
Last updated
Was this helpful?