Skip to content

Conversation

@felixcheung
Copy link
Member

What changes were proposed in this pull request?

Fix function routing to work with and without namespace operator SparkR::createDataFrame

How was this patch tested?

manual, unit tests

@shivaram

@felixcheung felixcheung changed the title [SPARK-16538][SPARKR] fix R call with namespace operator SparkSession functions [SPARK-16538][SPARKR] fix R call with namespace operator on SparkSession functions Jul 14, 2016
@SparkQA
Copy link

SparkQA commented Jul 14, 2016

Test build #62296 has finished for PR 14195 at commit 75193ee.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Jul 14, 2016

Hi, @felixcheung
LGTM. I tested it locally, too.
By the way, could you add the original reporter's testcase, too?

SparkR::sql("")

I know that it's not necessary, but it's just because the JIRA/PR looks different at the first glance.

@felixcheung
Copy link
Member Author

Thanks. That actually would fail - can't run an empty sql query.

@dongjoon-hyun
Copy link
Member

Yep. I mean . :)

SparkR::sql("select 1")

@dongjoon-hyun
Copy link
Member

What I wanted is SparkR::sql.

@shivaram
Copy link
Contributor

I guess it would be good to have an additional test case, but I'm going to merge this to make sure this makes 2.0 RCs. LGTM. We could look at ways to make this more robust in the future

asfgit pushed a commit that referenced this pull request Jul 14, 2016
…ion functions

## What changes were proposed in this pull request?

Fix function routing to work with and without namespace operator `SparkR::createDataFrame`

## How was this patch tested?

manual, unit tests

shivaram

Author: Felix Cheung <[email protected]>

Closes #14195 from felixcheung/rroutedefault.

(cherry picked from commit 12005c8)
Signed-off-by: Shivaram Venkataraman <[email protected]>
@asfgit asfgit closed this in 12005c8 Jul 14, 2016
@dongjoon-hyun
Copy link
Member

Great. This is in 2.0!

@felixcheung
Copy link
Member Author

Adding more tests in new PR. I'm hoping to remove deprecated functions and this routing mechanism as soon as 2.0.0 is released...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants