Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/10215#discussion_r47582589
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/Queryable.scala ---
@@ -42,4 +43,67 @@ private[sql] trait Queryable {
def explain(extended: Boolean): Unit
def explain(): Unit
+
+ private[sql] def showString(_numRows: Int, truncate: Boolean = true):
String
+
+ /**
+ * Format the string representing rows for output
+ * @param rows The rows to show
+ * @param numRows Number of rows to show
+ * @param hasMoreData Whether some rows are not shown due to the limit
+ * @param truncate Whether truncate long strings and align cells right
+ *
+ */
+ private[sql] def formatString (rows: Seq[Seq[String]],
--- End diff --
This indenting is wrong.
https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide#SparkCodeStyleGuide-Indentation
4 space for function args that wrap.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]