I have a hive table with schema
CREATE TABLE `temp_table`(
`gpid` string
)
ROW FORMAT DELIMITED FIELDS TERMINATED BY ','
STORED AS TEXTFILE
LOCATION
'wasbs://test@test.blob.core.windows.net/warehouse/test_data';
I am using airflow2 to add data into it. I need to override data each time job run so I tried using
INSERT OVERWRITE TABLE default.temp_table
select id from sometable
but I am getting issue
trino.exceptions.TrinoUserError: TrinoUserError(type=USER_ERROR, name=SYNTAX_ERROR, message="line 1:8: mismatched input 'OVERWRITE'. Expecting: 'INTO'", query_id=20210817_140454_00001_rbuac)