by
Hongbo
• New Contributor III
- 5652 Views
- 3 replies
- 4 kudos
I got parseException issue and I have no idea what cause the problem:ParseException: mismatched input 'PRIMARY' expecting {')', ',', 'CONSTRAINT'}(line 2, pos 44)== SQL == CREATE TABLE persons(first_name STRING NOT NULL, last_name STRING NOT NULL, ni...
- 5652 Views
- 3 replies
- 4 kudos
Latest Reply
You can only declare Primary and foreign keys on fields on Unity Catalog. You also need Databricks Runtime 11.1+Otherwise only NOT NULL and CHECK constraints are supported.More info : https://docs.databricks.com/tables/constraints.html
2 More Replies
- 11036 Views
- 3 replies
- 6 kudos
What exactly does "ON VIOLATION DROP ROW" do?
- 11036 Views
- 3 replies
- 6 kudos
Latest Reply
Hi @chorongs , There is a feature available in Delta Live tables where you can check the quality of your dataset at the time of your load to target table and take action like dropping those invalid records that did not meet your conditions, making yo...
2 More Replies