Skip to content
Snippets Groups Projects
Commit 0668e061 authored by Andrew Ash's avatar Andrew Ash Committed by Reynold Xin
Browse files

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 <andrew@andrewash.com>

Closes #16558 from ash211/patch-9.

(cherry picked from commit b040cef2)
Signed-off-by: default avatarReynold Xin <rxin@databricks.com>
parent 23944d0d
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,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(",")}])"
}
override def references: Array[String] = Array(attribute) ++ values.flatMap(findReferences)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment