Joydeep Banik Roy
05/05/2023, 9:59 AMGerhard Brueckl
05/05/2023, 10:11 AMsource.country = 'USA'
then to your merge condition?
<http://deltaTable.as|deltaTable.as>("target")
.merge(<http://df.as|df.as>("source"),
//Earlier would have looked like "target.id = source.id and target.country = source.country"
"target.id = source.id and target.country = 'USA'")
.whenMatched
.updateAll()
.whenNotMatched()
.insertAll()
.execute()
Joydeep Banik Roy
05/05/2023, 10:39 AMGerhard Brueckl
05/05/2023, 11:09 AMJoydeep Banik Roy
05/05/2023, 12:44 PM