zhangboren93 opened a new issue, #4281:
URL: https://github.com/apache/carbondata/issues/4281
I found that reading carbon files from CarbonReader takes long time in
"SimpleDateFormat.<init>", see attached file for output of
profiling.
https://github.com/apache/carbondata/blob/4b8846d1e6737e7db8a96014818c067c8c253d1f/sdk/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonReader.java#L207
I wonder if it is OK if we add some lazy initialization to SimpleDateFormat
in the class, and if so should it support multi-threading.
[profile.zip](https://github.com/apache/carbondata/files/8954954/profile.zip)
--
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]