dongjoon-hyun commented on code in PR #49564: URL: https://github.com/apache/spark/pull/49564#discussion_r1928106729
########## sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCOptions.scala: ########## @@ -249,6 +249,8 @@ class JDBCOptions( .map(_.toBoolean) .getOrElse(SQLConf.get.timestampType == TimestampNTZType) + val hint = parameters.get(JDBC_HINT_STRING).map(_ + " ").getOrElse("") Review Comment: +1 for @beliefer 's comment to be robust. ########## sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCOptions.scala: ########## @@ -249,6 +249,8 @@ class JDBCOptions( .map(_.toBoolean) .getOrElse(SQLConf.get.timestampType == TimestampNTZType) + val hint = parameters.get(JDBC_HINT_STRING).map(_ + " ").getOrElse("") Review Comment: +1 for @beliefer 's comment to be robust. (I deleted my previous comment.) -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org