Edmondo Porcu
05/12/2023, 3:26 PMChristopher Grant
05/12/2023, 5:37 PMMERGE
, for example, the table is not created automatically so you'd have to do it yourself.
For things like this, I typically a DeltaTable.createIfNotExists() which will no-op when the table already exists. If you go this way, I suggest using addColumns; with it you can easily take the schema of an existing DataFrame and inject it into the builder.Amit Panwar
05/12/2023, 7:54 PM