Repository: spark Updated Branches: refs/heads/branch-2.0 55d2a1178 -> be527ddc0
Fix missing close-parens for In filter's toString Otherwise the open parentheses isn't closed in query plan descriptions of batch scans. PushedFilters: [In(COL_A, [1,2,4,6,10,16,219,815], IsNotNull(COL_B), ... Author: Andrew Ash <and...@andrewash.com> Closes #16558 from ash211/patch-9. (cherry picked from commit b040cef2ed0ed46c3dfb483a117200c9dac074ca) Signed-off-by: Reynold Xin <r...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/be527ddc Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/be527ddc Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/be527ddc Branch: refs/heads/branch-2.0 Commit: be527ddc07be009ad6aa4f8561c7f8406468a8dc Parents: 55d2a11 Author: Andrew Ash <and...@andrewash.com> Authored: Thu Jan 12 23:14:07 2017 -0800 Committer: Reynold Xin <r...@databricks.com> Committed: Thu Jan 12 23:14:25 2017 -0800 ---------------------------------------------------------------------- sql/core/src/main/scala/org/apache/spark/sql/sources/filters.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/be527ddc/sql/core/src/main/scala/org/apache/spark/sql/sources/filters.scala ---------------------------------------------------------------------- diff --git a/sql/core/src/main/scala/org/apache/spark/sql/sources/filters.scala b/sql/core/src/main/scala/org/apache/spark/sql/sources/filters.scala index 9130e77..f7e4f93 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/sources/filters.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/sources/filters.scala @@ -97,7 +97,7 @@ case class In(attribute: String, values: Array[Any]) extends Filter { case _ => false } override def toString: String = { - s"In($attribute, [${values.mkString(",")}]" + s"In($attribute, [${values.mkString(",")}])" } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org