Execute a DML SQL and return the number of rows affected.
Execute a DML SQL and return the number of rows affected.
If the row is already present, it gets updated otherwise it gets inserted into the table represented by this relation
If the row is already present, it gets updated otherwise it gets inserted into the table represented by this relation
the DataFrame
to be upserted
If the row is already present, it gets updated otherwise it gets inserted into the table represented by this relation
If the row is already present, it gets updated otherwise it gets inserted into the table represented by this relation
the rows to be upserted
number of rows upserted