-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-19452][SparkR] Fix bug in the name assignment method #16794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
An example illustrating the issue: |
|
Test build #72321 has finished for PR 16794 at commit
|
|
Not sure why the unit test on kmeans summary failed since nothing was changed there. Also, all unit tests passed on my computer. |
|
good catch, seems reasonable (although might be a small breaking behavior change) Error in tests is with doc generation: |
|
Warning in FUN(X[[1L]], ...) : What are these warnings for? Seems relevant. |
|
try {r, warning=FALSE} for the warning cases? |
|
Test build #72327 has finished for PR 16794 at commit
|
|
Test build #72330 has finished for PR 16794 at commit
|
|
still document failures. |
|
retest this please. |
|
@felixcheung @wangmiao1981 |
|
Test build #72335 has finished for PR 16794 at commit
|
|
retest this please |
|
Test build #72345 has finished for PR 16794 at commit
|
|
I'd prefer not to To address all these noise, I'd propose either
|
|
in any case, this PR LGTM. I'll target master for this fix. |
|
opened SPARK-19460. |
|
@felixcheung I am in favor of the first proposal to support dot in names. I'm curious why this was not supported yet since we can create DataFrame in Spark with dot in names? |
|
that's awesome - it's likely a recent change we have missed. If you dig through the history of various related JIRAs you should be able to pinpoint a couple of places (at least 2 or 3, on top of my head) that we are replacing I'd really appreciate it if someone could look into this - the |
|
@felixcheung I'll be happy to look into this and fix it. Do you want me to open a new JIRA or just create a PR against SPARK-19460? |
|
that would be great @actuaryzhang - I think SPARK-11976 would be the place to start. |
|
merged to master. |
## What changes were proposed in this pull request? The names method fails to check for validity of the assignment values. This can be fixed by calling colnames within names. ## How was this patch tested? new tests. Author: actuaryzhang <actuaryzhang10@gmail.com> Closes apache#16794 from actuaryzhang/sparkRNames.
What changes were proposed in this pull request?
The names method fails to check for validity of the assignment values. This can be fixed by calling colnames within names.
How was this patch tested?
new tests.