thisisnic commented on code in PR #51313:
URL: https://github.com/apache/arrow/pull/51313#discussion_r3996249031


##########
r/R/dplyr-eval.R:
##########
@@ -252,6 +252,15 @@ abandon_ship <- function(err, env) {
 arrow_mask <- function(.data) {
   f_env <- new_environment(.cache$functions)
 
+  # Empty column names can't be bound into an environment (GH-40303).
+  # Like dplyr, refuse to transform such data rather than repairing names.
+  if (!all(nzchar(names(.data$selected_columns)))) {

Review Comment:
   It makes no real difference as it's a no-op as that column can't be 
referenced anyway, no point adding extra code to account for this given the 
same outcome.



-- 
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]

Reply via email to