Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/19864#discussion_r155521550 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/columnar/InMemoryColumnarQuerySuite.scala --- @@ -479,4 +481,32 @@ class InMemoryColumnarQuerySuite extends QueryTest with SharedSQLContext { } } } + + test("SPARK-22673: InMemoryRelation should utilize existing stats whenever possible") { + withSQLConf("spark.sql.cbo.enabled" -> "true") { + // scalastyle:off --- End diff -- why turn off the style check here?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org