Starkadur Hrobjartsson
04/05/2023, 11:47 AMCREATE TABLE IF NOT EXISTS test_schema.test_table
(
timestamp TIMESTAMP,
year INT GENERATED ALWAYS AS (YEAR(timestamp))
)
USING DELTA LOCATION '/tmp/delta-lake/delta-table'
TBLPROPERTIES(delta.minWriterVersion = '4')
I get the following error: Syntax error at or near 'GENERATED'
The same table I can create in Databricks with the appropriate location, catalog and schema.
Is this feature exclusive to Databricks or am I missing something?JosephK (exDatabricks)
04/05/2023, 12:42 PMJim Hibbard
04/05/2023, 2:41 PM