TJX2014 opened a new pull request #28814:
URL: https://github.com/apache/spark/pull/28814


   ### What changes were proposed in this pull request?
   A unit test is added
   Partition duplicate check add in 
`org.apache.spark.sql.execution.datasources.PartitioningUtils#validatePartitionColumn`
   
   ### Why are the changes needed?
   When people write data with duplicate partition column, it will cause a 
exception in load data from the  writted.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes.
   It will prevent people use duplicate partition column.
   
   ### How was this patch tested?
   Unit test.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to