Skip to content

Conversation

@olarayej
Copy link

No description provided.

@olarayej
Copy link
Author

The output of this method looks like this:

irisDF <- createDataFrame(sqlContext, iris)

str(irisDF)
'DataFrame': 150 obs. of 5 variables:
$ Sepal_Length: num 5.1 4.9 4.7 4.6 5 5.4 ...
$ Sepal_Width : num 3.5 3 3.2 3.1 3.6 3.9 ...
$ Petal_Length: num 1.4 1.4 1.3 1.5 1.4 1.7 ...
$ Petal_Width : num 0.2 0.2 0.2 0.2 0.2 0.4 ...
$ Species : chr setosa setosa setosa setosa setosa setosa ...

@SparkQA
Copy link

SparkQA commented Nov 11, 2015

Test build #45577 has finished for PR 9613 at commit dab0565.

  • This patch fails R style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 11, 2015

Test build #45579 has finished for PR 9613 at commit d825d2c.

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

@olarayej
Copy link
Author

@shivaram @felixcheung Can anybody review this one? I'd appreciate it. Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use paste0?

@SparkQA
Copy link

SparkQA commented Nov 14, 2015

Test build #45916 has finished for PR 9613 at commit daa3d41.

  • This patch fails R style tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 14, 2015

Test build #45917 has finished for PR 9613 at commit 5b4f6b1.

  • This patch fails R style tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@olarayej
Copy link
Author

I'm getting the error below, but such line is blank. Jenkins, could you retest please?

inst/tests/test_sparkSQL.R:1542:1: Warning messages:
1: In readLines(filename) :style: Trailing whitespace is superfluous.

@shivaram
Copy link
Contributor

@olarayej The empty line could still have whitespaces that'll need to be removed to pass the style checker

@olarayej
Copy link
Author

@shivaram Yeah, by empty line I meant completely empty (no spaces or anything). Now it's passing. I believe it was picking up and old version of my file :-). Thanks!

@SparkQA
Copy link

SparkQA commented Nov 14, 2015

Test build #45918 has finished for PR 9613 at commit 6d226e9.

  • This patch passes all tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that, the check on SHORT_TYPES is below in line 2278 though?
here, types is still "character" right?

@felixcheung
Copy link
Member

also this comment #9613 (diff)

@SparkQA
Copy link

SparkQA commented Dec 18, 2015

Test build #48016 has finished for PR 9613 at commit 1428925.

  • This patch fails R style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Oscar D. Lara Yejas added 2 commits December 18, 2015 12:11
@SparkQA
Copy link

SparkQA commented Dec 18, 2015

Test build #48021 has finished for PR 9613 at commit 5bdf3f9.

  • This patch fails R style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Dec 18, 2015

Test build #48028 has finished for PR 9613 at commit 38c21f3.

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

@olarayej
Copy link
Author

@felixcheung Done!

@olarayej
Copy link
Author

@shivaram I have addressed all your comments. Should we close this pull request?

@olarayej
Copy link
Author

Happy New Year, folks! Shall we merge this PR? @shivaram

@shivaram
Copy link
Contributor

Sorry I've been traveling for the last couple of weeks. I get back on
Tuesday and will take a look
On Jan 11, 2016 09:23, "Oscar D. Lara Yejas" [email protected]
wrote:

Happy New Year, folks! Shall we merge this PR? @shivaram
https://github.com/shivaram


Reply to this email directly or view it on GitHub
#9613 (comment).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this and also re-ordered generics declaration for attach and as.data.frame.

@SparkQA
Copy link

SparkQA commented Jan 12, 2016

Test build #49249 has finished for PR 9613 at commit 2a8115d.

  • This patch fails some tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@olarayej
Copy link
Author

Jenkins, could you retest please? The error I see is "Error fetching remote repo 'origin'"

@olarayej
Copy link
Author

@SparkQA Could you retest?

@shivaram
Copy link
Contributor

Jenkins, retest this please

@SparkQA
Copy link

SparkQA commented Jan 13, 2016

Test build #49272 has finished for PR 9613 at commit 2a8115d.

  • This patch fails some tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 13, 2016

Test build #49327 has finished for PR 9613 at commit 0ffcb4f.

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

@olarayej
Copy link
Author

@felixcheung Done. Thanks!

@felixcheung
Copy link
Member

looks good and test passed!

@shivaram
Copy link
Contributor

LGTM from me as well. Thanks @olarayej - Merging this to master and branch-1.6.

asfgit pushed a commit that referenced this pull request Jan 15, 2016
Author: Oscar D. Lara Yejas <[email protected]>
Author: Oscar D. Lara Yejas <[email protected]>
Author: Oscar D. Lara Yejas <[email protected]>
Author: Oscar D. Lara Yejas <[email protected]>

Closes #9613 from olarayej/SPARK-11031.

(cherry picked from commit ba4a641)
Signed-off-by: Shivaram Venkataraman <[email protected]>
@asfgit asfgit closed this in ba4a641 Jan 15, 2016
@olarayej
Copy link
Author

Thanks, @shivaram!

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.

6 participants