Edmondo Porcu05/12/2023, 3:26 PM
Christopher Grant05/12/2023, 5:37 PM
, 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 Panwar05/12/2023, 7:54 PM