cloud-fan commented on a change in pull request #28272:
URL: https://github.com/apache/spark/pull/28272#discussion_r411944233
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/CatalystTypeConverters.scala
##########
@@ -470,7 +478,7 @@ object CatalystTypeConverters {
* This method is slow, and for batch conversion you should be using
converter
* produced by createToScalaConverter.
*/
- def convertToScala(catalystValue: Any, dataType: DataType): Any = {
- createToScalaConverter(dataType)(catalystValue)
+ def convertToScala(catalystValue: Any, dataType: DataType,
useJava8DateTimeApi: Boolean): Any = {
Review comment:
can we add a default parameter value for `useJava8DateTimeApi` here as
well?
----------------------------------------------------------------
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]