MaxGekk opened a new pull request #34700:
URL: https://github.com/apache/spark/pull/34700


   ### What changes were proposed in this pull request?
   In the PR, I propose to explicitly set the date pattern to `yyyy-MM-dd` 
while inferring types of partition values.
   
   ### Why are the changes needed?
   The existing date partition parser is much more tolerant to its input, and 
can skip some parts of date strings. For example, see SPARK-36861. As a 
consequence, it can loose some user's info (pieces of partition values).
   
   ### Does this PR introduce _any_ user-facing change?
   No. New behaviour introduced by https://github.com/apache/spark/pull/33709 
hasn't released yet.
   
   ### How was this patch tested?
   By running the modified test suite:
   ```
   $ build/sbt "test:testOnly *ParquetV2PartitionDiscoverySuite"
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

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