Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/21537#discussion_r196025306
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/javaCode.scala
---
@@ -113,6 +113,21 @@ object JavaCode {
def isNullExpression(code: String): SimpleExprValue = {
expression(code, BooleanType)
}
+
+ /**
+ * Create an `InlineBlock` for Java Class name.
+ */
+ def className(javaClass: Class[_]): InlineBlock =
InlineBlock(javaClass.getName)
--- End diff --
I am not sure about the names of these 3 methods... They are doing kind of
the same thing but this name is pretty different form the other 2... What do
you think?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]