Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/22708#discussion_r225391643
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala
---
@@ -282,6 +283,27 @@ case class StaticInvoke(
}
}
+/**
+ * When constructing [[Invoke]], the data type must be given, which may be
not possible to define
+ * before analysis. This class acts like a placeholder for [[Invoke]], and
will be replaced by
+ * [[Invoke]] during analysis after the input data is resolved. Data type
passed to [[Invoke]]
+ * will be defined by applying [[dataTypeFunction]] to the data type of
the input data.
+ */
+case class UnresolvedInvoke(
--- End diff --
Should we move this to `unresolved.scala`? cc @cloud-fan
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]