Please help, getting this error when using Delta "replace where" SQL (not Python):
ParseException:
mismatched input 'replace' expecting {'(', 'DESC', 'DESCRIBE', 'FROM', 'MAP', 'REDUCE', 'SELECT', 'TABLE', 'VALUES', 'WITH'}(line 1, pos 72)
== SQL ==
insert into table delta.`/path-to-table/` replace where replace_key in ('a', 'b') select * from vwt_df
I am using this guide (sql version): https://docs.databricks.com/delta/selective-overwrite.html#language-sql
P.S. I am trying to perform selective overwrite.