You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/05 21:08:26 UTC

[GitHub] [arrow] wjones127 commented on a diff in pull request #14286: ARROW-15838: [R] Coalesce join keys in full outer join

wjones127 commented on code in PR #14286:
URL: https://github.com/apache/arrow/pull/14286#discussion_r988355355


##########
r/tests/testthat/test-dplyr-join.R:
##########
@@ -338,3 +342,33 @@ test_that("arrow dplyr query can join two datasets", {
     }
   )
 })
+
+test_that("joins on datasets handles keep", {
+  full_data_df <- tibble::tibble(
+    x = rep(c("a", "b"), each = 5),
+    y = rep(1:5, 2),
+    z = rep("zzz", 10),
+    index = 1:10
+  )
+  small_dataset_df <- tibble::tibble(
+    value = c(0.1, 0.2, 0.3, 0.4, 0.5),
+    x = c(rep("a", 3), rep("b", 2)),
+    y = 1:5,
+    z = 6:10
+  )
+  full_data <- InMemoryDataset$create(full_data_df)

Review Comment:
   You are correct. Nic's originaly repro involved writing out a Parquet dataset, so I thought the dataset part was important to it. I was able to still repro by simplifying to an InMemoryDataset, but didn't think to try Table.



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org