Github user shivaram commented on the issue:
https://github.com/apache/spark/pull/14444
The easiest way to debug the R test case is to see what has changed for
this particular `select` query that is failing and then update the test case.
If you have compiled with `-Psparkr` then you can run `bin/sparkR` and just
paste in the following snippet which I've copied from the test case
```
df <- createDataFrame(list(list(1L, 2L, 3L), list(4L, 5L, 6L)),
schema = c("a", "b", "c"))
result <- collect(select(df, struct("a", "c")))
expected <- data.frame(row.names = 1:2)
expected$"struct(a, c)" <- list(listToStruct(list(a = 1L, c = 3L)),
listToStruct(list(a = 4L, c = 6L)))
```
Now you can just type `result` first and then `expected` and see how the
two differ. The test asserts that `result` should be equal to `expected`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]