MaxGekk opened a new pull request #23462: [SPARK-26546][SQL] Caching of 
java.time.format.DateTimeFormatter
URL: https://github.com/apache/spark/pull/23462
 
 
   ## What changes were proposed in this pull request?
   
   Added a cache for  java.time.format.DateTimeFormatter instances with keys 
consist of pattern and locale. This should allow to avoid parsing of 
timestamp/date patterns each time when new instance of 
`TimestampFormatter`/`DateFormatter` is created.
   
   ## How was this patch tested?
   
   By existing test suites `TimestampFormatterSuite`/`DateFormatterSuite` and 
`JsonFunctionsSuite`/`JsonSuite`.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to