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 b04d6c8 commit 7865f5eCopy full SHA for 7865f5e
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Expression.scala
@@ -96,9 +96,8 @@ abstract class Expression extends TreeNode[Expression] {
96
val primitive = ctx.freshName("primitive")
97
val ve = GeneratedExpressionCode("", isNull, primitive)
98
ve.code = genCode(ctx, ve)
99
- // We may want to print out $this in the comment of generated code for debugging.
100
- // ve.copy(s"/* $this */\n" + ve.code)
101
- ve
+ // Add `this` in the comment.
+ ve.copy(s"/* $this */\n" + ve.code)
102
}
103
104
/**
0 commit comments