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


   ### What changes were proposed in this pull request?
   1. Change the max step from 1 week to 30 minutes in the tests 
`RebaseDateTimeSuite`.`generate 'gregorian-julian-rebase-micros.json'` and 
`generate 'julian-gregorian-rebase-micros.json'`.
   2. Parallelise JSON files generation in the function `generateRebaseJson` by 
using `ThreadUtils.parmap`.
   
   ### Why are the changes needed?
   1. To prevent the bugs that are fixed by 
https://github.com/apache/spark/pull/28787 and 
https://github.com/apache/spark/pull/28816.
   2. The parallelisation speeds up JSON file generation.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   
   ### How was this patch tested?
   By generating the JSON file `julian-gregorian-rebase-micros.json`.


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