Declare and optimize with UNIQUE constraints on Databricks | Flume