Skip to content

Commit 694e94f

Browse files
committed
SPARK-12105 - Cleanup import, copy comment, and use truncate default value
1 parent 381dfd0 commit 694e94f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package org.apache.spark.sql
1919

20-
import java.io.{OutputStreamWriter, Writer, OutputStream, CharArrayWriter}
20+
import java.io.CharArrayWriter
2121
import java.util.Properties
2222

2323
import scala.language.implicitConversions
@@ -161,10 +161,10 @@ class DataFrame private[sql](
161161
}
162162

163163
/**
164-
* Alias on showString for user convenience
164+
* Compose the string representing rows for output
165165
*/
166166
def showString(): String = {
167-
showString(20, true);
167+
showString(20);
168168
}
169169

170170
/**

0 commit comments

Comments
 (0)