Skip to content

Conversation

@yhuai
Copy link
Contributor

@yhuai yhuai commented Feb 6, 2015

@SparkQA
Copy link

SparkQA commented Feb 6, 2015

Test build #26973 has started for PR 4446 at commit b1e9b1b.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 6, 2015

Test build #26973 has finished for PR 4446 at commit b1e9b1b.

  • This patch fails RAT tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public class SaveModes
    • protected[sql] class CaseInsensitiveMap(map: Map[String, String]) extends Map[String, String]
    • abstract class SaveMode

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26973/
Test FAILed.

@yhuai
Copy link
Contributor Author

yhuai commented Feb 7, 2015

test this please

@SparkQA
Copy link

SparkQA commented Feb 7, 2015

Test build #26988 has started for PR 4446 at commit b1e9b1b.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 7, 2015

Test build #26988 has finished for PR 4446 at commit b1e9b1b.

  • This patch fails RAT tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public class SaveModes
    • protected[sql] class CaseInsensitiveMap(map: Map[String, String]) extends Map[String, String]
    • abstract class SaveMode

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26988/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Feb 7, 2015

Test build #27009 has started for PR 4446 at commit e702386.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 7, 2015

Test build #27009 has finished for PR 4446 at commit e702386.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public class SaveModes
    • protected[sql] class CaseInsensitiveMap(map: Map[String, String]) extends Map[String, String]
    • abstract class SaveMode

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27009/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Feb 8, 2015

Test build #27030 has started for PR 4446 at commit 7db95ff.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 8, 2015

Test build #27030 has finished for PR 4446 at commit 7db95ff.

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

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27030/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Feb 9, 2015

Test build #27065 has started for PR 4446 at commit cf5703d.

  • This patch merges cleanly.

Copy link
Contributor

Choose a reason for hiding this comment

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

add "(Scala-specific)" to the beginning.

Conflicts:
	sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
@SparkQA
Copy link

SparkQA commented Feb 10, 2015

Test build #27232 has started for PR 4446 at commit 2306f93.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 10, 2015

Test build #27227 has finished for PR 4446 at commit ae4649e.

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

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27227/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Feb 10, 2015

Test build #27235 has started for PR 4446 at commit 225ff71.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 10, 2015

Test build #27232 has finished for PR 4446 at commit 2306f93.

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

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27232/
Test FAILed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think tableName could be just name.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure if we can do it. tableName has been used at lots of places.

Copy link
Contributor

Choose a reason for hiding this comment

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

I saw it's only used int insertInto() and saveAsTable(), and registerAsTable() use name.

It's not a keyword argument, so it's safe to change the name.

@davies
Copy link
Contributor

davies commented Feb 10, 2015

@yhuai After fix the failed test, and some code style issues (good to have), the Python parts look good to me.

@SparkQA
Copy link

SparkQA commented Feb 10, 2015

Test build #27244 has started for PR 4446 at commit f3a96f7.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 11, 2015

Test build #27235 has finished for PR 4446 at commit 225ff71.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27235/
Test PASSed.

Copy link
Contributor

Choose a reason for hiding this comment

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

this error is going to print even if its a SQL CTAS right? that might be confusing.

@SparkQA
Copy link

SparkQA commented Feb 11, 2015

Test build #27244 has finished for PR 4446 at commit f3a96f7.

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

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27244/
Test PASSed.

asfgit pushed a commit that referenced this pull request Feb 11, 2015
https://issues.apache.org/jira/browse/SPARK-5658

Author: Yin Huai <yhuai@databricks.com>

This patch had conflicts when merged, resolved by
Committer: Michael Armbrust <michael@databricks.com>

Closes #4446 from yhuai/writeSupportFollowup and squashes the following commits:

f3a96f7 [Yin Huai] davies's comments.
225ff71 [Yin Huai] Use Scala TestHiveContext to initialize the Python HiveContext in Python tests.
2306f93 [Yin Huai] Style.
2091fcd [Yin Huai] Merge remote-tracking branch 'upstream/master' into writeSupportFollowup
537e28f [Yin Huai] Correctly clean up temp data.
ae4649e [Yin Huai] Fix Python test.
609129c [Yin Huai] Doc format.
92b6659 [Yin Huai] Python doc and other minor updates.
cbc717f [Yin Huai] Rename dataSourceName to source.
d1c12d3 [Yin Huai] No need to delete the duplicate rule since it has been removed in master.
22cfa70 [Yin Huai] Merge remote-tracking branch 'upstream/master' into writeSupportFollowup
d91ecb8 [Yin Huai] Fix test.
4c76d78 [Yin Huai] Simplify APIs.
3abc215 [Yin Huai] Merge remote-tracking branch 'upstream/master' into writeSupportFollowup
0832ce4 [Yin Huai] Fix test.
98e7cdb [Yin Huai] Python style.
2bf44ef [Yin Huai] Python APIs.
c204967 [Yin Huai] Format
a10223d [Yin Huai] Merge remote-tracking branch 'upstream/master' into writeSupportFollowup
9ff97d8 [Yin Huai] Add SaveMode to saveAsTable.
9b6e570 [Yin Huai] Update doc.
c2be775 [Yin Huai] Merge remote-tracking branch 'upstream/master' into writeSupportFollowup
99950a2 [Yin Huai] Use Java enum for SaveMode.
4679665 [Yin Huai] Remove duplicate rule.
77d89dc [Yin Huai] Update doc.
e04d908 [Yin Huai] Move import and add (Scala-specific) to scala APIs.
cf5703d [Yin Huai] Add checkAnswer to Java tests.
7db95ff [Yin Huai] Merge remote-tracking branch 'upstream/master' into writeSupportFollowup
6dfd386 [Yin Huai] Add java test.
f2f33ef [Yin Huai] Fix test.
e702386 [Yin Huai] Apache header.
b1e9b1b [Yin Huai] Format.
ed4e1b4 [Yin Huai] Merge remote-tracking branch 'upstream/master' into writeSupportFollowup
af9e9b3 [Yin Huai] DDL and write support API followup.
2a6213a [Yin Huai] Update API names.
e6a0b77 [Yin Huai] Update test.
43bae01 [Yin Huai] Remove createTable from HiveContext.
5ffc372 [Yin Huai] Add more load APIs to SQLContext.
5390743 [Yin Huai] Add more save APIs to DataFrame.

(cherry picked from commit aaf50d0)
Signed-off-by: Michael Armbrust <michael@databricks.com>
@asfgit asfgit closed this in aaf50d0 Feb 11, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe need to use List<StructField> fields = new ArrayList<StructField>(); instead of List<StructField> fields = new ArrayList<>();

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have fixed it. Thank you!

@yhuai yhuai deleted the writeSupportFollowup branch February 11, 2015 18:20
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.

7 participants