raphaelblg
Databricks Employee
Databricks Employee

Hello @Marcin_U ,

Thank you for reaching out. The transformation you apply within or outside the `withColumn` method will ultimately result in the same Spark plan.

The answer is no, it's not possible to have rows mismatch if you're referring to the same column on the same Dataframe.

 

Best regards,

Raphael Balogo
Sr. Technical Solutions Engineer
Databricks