peter-toth commented on a change in pull request #34693:
URL: https://github.com/apache/spark/pull/34693#discussion_r755836451
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCRelation.scala
##########
@@ -325,6 +325,6 @@ private[sql] case class JDBCRelation(
override def toString: String = {
val partitioningInfo = if (parts.nonEmpty) s"
[numPartitions=${parts.length}]" else ""
// credentials should not be included in the plan output, table
information is sufficient.
- s"JDBCRelation(${jdbcOptions.tableOrQuery})" + partitioningInfo
+ s"JDBCRelation(${jdbcOptions.withClause}${jdbcOptions.tableOrQuery})" +
partitioningInfo
Review comment:
Fixed in
https://github.com/apache/spark/pull/34693/commits/b53ef475b6349e351e74635c1b1e5d4a923398fb
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]