Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Whitespace changes
  • Loading branch information
DaveDeCaprio committed Nov 18, 2018
commit c4cef026bf03f383f6c3576543e3c52718fd0676
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,9 @@ abstract class TreeNode[BaseType <: TreeNode[BaseType]] extends Product with Log
}

def treeString(
writer: Writer,
verbose: Boolean,
addSuffix: Boolean): Unit = {
writer: Writer,
verbose: Boolean,
addSuffix: Boolean): Unit = {
treeString(writer, verbose, addSuffix, TreeNode.maxTreeToStringDepth)
}

Expand All @@ -498,7 +498,7 @@ abstract class TreeNode[BaseType <: TreeNode[BaseType]] extends Product with Log
generateTreeString(0, Nil, writer, verbose, "", addSuffix, maxDepth)
}

/**
/**
* Returns a string representation of the nodes in this tree, where each operator is numbered.
* The numbers can be used with [[TreeNode.apply]] to easily access specific subtrees.
*
Expand Down Expand Up @@ -599,7 +599,7 @@ abstract class TreeNode[BaseType <: TreeNode[BaseType]] extends Product with Log
}
else {
if (TreeNode.treeDepthWarningPrinted.compareAndSet(false, true)) {
logWarn(
logWarning(
"Truncated the string representation of a plan since it was nested too deeply. " +
"This behavior can be adjusted by setting 'spark.debug.maxToStringTreeDepth' in " +
"SparkEnv.conf.")
Expand Down