vibhatha commented on a change in pull request #12113:
URL: https://github.com/apache/arrow/pull/12113#discussion_r826508187
##########
File path: r/R/query-engine.R
##########
@@ -166,14 +165,18 @@ ExecPlan <- R6Class("ExecPlan",
# (as when we've done collapse() and not projected after) is
cheap/no-op
projection <- c(.data$selected_columns, .data$temp_columns)
node <- node$Project(projection)
-
if (!is.null(.data$join)) {
+ right_node <- self$Build(.data$join$right_data)
+ left_output <- names(.data)
Review comment:
I am not 100% understand why. I didn't change that line, but I added a
few variables for readability of the code that's why it reflects as a change.
But for my curiosity I made the change you requested, it breaks a few test
cases when we do it like that. In this modification, I only inserted the prefix
field and the suffix field.
--
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]