HyukjinKwon commented on a change in pull request #26356: [SPARK-29707][SQL] 
Add configuration 'spark.sql.maxDataSourceScanMetadataStringLength'
URL: https://github.com/apache/spark/pull/26356#discussion_r342896414
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala
 ##########
 @@ -58,7 +58,8 @@ trait DataSourceScanExec extends LeafExecNode {
   override def simpleString(maxFields: Int): String = {
     val metadataEntries = metadata.toSeq.sorted.map {
       case (key, value) =>
-        key + ": " + StringUtils.abbreviate(redact(value), 100)
+        key + ": " + StringUtils.abbreviate(redact(value),
 
 Review comment:
   Can you check if there are other places that needs to call 
`StringUtils.abbreviate` against `simpleString`?
   `simpleString` itself, IIRC, abbreviates when it's long unlike 
`catalogString`.

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