Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/21537#discussion_r196807818
--- 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 --
what about `javaType` as the method below? They return the same thing, just
with a different input, don't they?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]