srowen commented on issue #24647: [SPARK-27776][SQL]Avoid duplicate Java 
reflection in DataSource.
URL: https://github.com/apache/spark/pull/24647#issuecomment-494395375
 
 
   To be clear, you could cache the constructor object, but still make a new 
instance each time. And the creation of the object could be in a private 
method. I think that much is fine.

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


With regards,
Apache Git Services

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

Reply via email to