We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a8cf80 commit b25b3deCopy full SHA for b25b3de
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreeNode.scala
@@ -380,7 +380,7 @@ abstract class TreeNode[BaseType <: TreeNode[BaseType]] extends Product {
380
/** Returns a string representing the arguments to this node, minus any children */
381
def argString: String = productIterator.flatMap {
382
case tn: TreeNode[_] if containsChild(tn) => Nil
383
- case tn: TreeNode[_] if tn.toString contains "\n" => s"(${tn.simpleString})" :: Nil
+ case tn: TreeNode[_] => s"(${tn.simpleString})" :: Nil
384
case seq: Seq[BaseType] if seq.toSet.subsetOf(children.toSet) => Nil
385
case seq: Seq[_] => seq.mkString("[", ",", "]") :: Nil
386
case set: Set[_] => set.mkString("{", ",", "}") :: Nil
0 commit comments