cloud-fan commented on code in PR #52334:
URL: https://github.com/apache/spark/pull/52334#discussion_r2429621958
##########
sql/api/src/main/scala/org/apache/spark/sql/catalyst/trees/origin.scala:
##########
@@ -57,6 +59,44 @@ case class Origin(
*/
trait WithOrigin {
def origin: Origin
+
+ /**
+ * Update query contexts in this object with translated positions. Uses
reflection to
+ * generically update any object with query context.
+ */
+ def updateQueryContext(translator: Array[QueryContext] =>
Array[QueryContext]): WithOrigin = {
Review Comment:
where do we use it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]