Github user hvanhovell commented on a diff in the pull request: https://github.com/apache/spark/pull/17145#discussion_r104156872 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/QueryTest.scala --- @@ -312,13 +312,23 @@ object QueryTest { sparkAnswer: Seq[Row], isSorted: Boolean = false): Option[String] = { if (prepareAnswer(expectedAnswer, isSorted) != prepareAnswer(sparkAnswer, isSorted)) { + val getRowType: Option[Row] => String = row => + "RowType" + row.map(row => --- End diff -- How about using `schema.catalogString` or `schema.treeString` here? Rolling your own seems unnecessary.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org