Datalakes | Table References | VantageCloud Lake - Datalake Table References - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

You can reference a Datalake table (but no other VantageCloud Lake table) using the following dot notation.

Syntax

datalake_name.database_name.table_name

Syntax Elements

datalake_name
Name of the DATALAKE object representing the Datalake (see CREATE DATALAKE and REPLACE DATALAKE).
database_name
Name of the database where the Datalake table is.
table_name
Name of the Datalake table.

Examples

Select all columns of table db1.t1 in Datalake object Iceberg1:

SELECT * FROM Iceberg1.db1.t1;

Select column c1 of table db1.t1:

SELECT * FROM Iceberg1.db1.t1.c1;

Select the count of all columns of table db1.t1:

SELECT count(*) FROM Iceberg1.db1.t1