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 3cfb174 commit c2b1c5fCopy full SHA for c2b1c5f
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeFormatter.scala
@@ -35,7 +35,7 @@ private class CodeFormatter {
35
36
private def addLine(line: String): Unit = {
37
val indentChange =
38
- line.count(c => "({[".indexOf(c) >= 0) - line.count(c => ")}]".indexOf(c) >= 0)
+ line.count(c => "({".indexOf(c) >= 0) - line.count(c => ")}".indexOf(c) >= 0)
39
val newIndentLevel = math.max(0, indentLevel + indentChange)
40
// Lines starting with '}' should be de-indented even if they contain '{' after;
41
// in addition, lines ending with ':' are typically labels
0 commit comments