Skip to content

Conversation

@sryza
Copy link
Contributor

@sryza sryza commented May 9, 2014

No description provided.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/14833/

@mateiz
Copy link
Contributor

mateiz commented May 27, 2014

Hey Sandy, this needs Java and Python APIs to be merged as well. We're going to stop adding Scala-only APIs at first and then fixing the other languages later.

@sryza
Copy link
Contributor Author

sryza commented May 28, 2014

Makes sense. Updated patch adds Java and Python APIs.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15244/

Copy link
Contributor

Choose a reason for hiding this comment

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

You seem to confuse T and V here (same in the other doc comments)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad. Uploaded a patch that fixes this.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15280/

@mateiz
Copy link
Contributor

mateiz commented Jun 3, 2014

@sryza Looks like you have a style error, see https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15280/console. You can run sbt scalastyle to do these tests locally.

@sryza
Copy link
Contributor Author

sryza commented Jun 3, 2014

My bad - fixed these.

@AmplabJenkins
Copy link

Build triggered.

@AmplabJenkins
Copy link

Build started.

@AmplabJenkins
Copy link

Build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15367/

@mateiz
Copy link
Contributor

mateiz commented Jun 3, 2014

Jenkins, retest this please

@AmplabJenkins
Copy link

Build triggered.

@AmplabJenkins
Copy link

Build started.

@AmplabJenkins
Copy link

Build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15401/

@mateiz
Copy link
Contributor

mateiz commented Jun 3, 2014

Jenkins, retest this please

@AmplabJenkins
Copy link

Build triggered.

@AmplabJenkins
Copy link

Build started.

@AmplabJenkins
Copy link

Build finished.

@pwendell
Copy link
Contributor

@sryza looks like the python tests are failing

@sryza
Copy link
Contributor Author

sryza commented Jun 12, 2014

Ok, the test should be fixed for real this time.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@AmplabJenkins
Copy link

Merged build finished.

@AmplabJenkins
Copy link

Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15696/

@sryza
Copy link
Contributor Author

sryza commented Jun 12, 2014

I'm noticing a MIMA error. I think this must be a false positive? As the patch only adds APIs.

@pwendell
Copy link
Contributor

@ScrapCodes - do you have any idea on this one? This doesn't make much sense to me at all! @sryza for now you can add an exclude in project/MimaExcludes this is clearly a false positive.

@ScrapCodes
Copy link
Member

This happened because in the byte code there was a method as follows
public final java.lang.Object org$apache$spark$rdd$PairRDDFunctions$$createZero$1(byte[], scala.runtime.ObjectRef, scala.runtime.VolatileByteRef);

Which got changed to public final java.lang.Object org$apache$spark$rdd$PairRDDFunctions$$createZero$1(scala.reflect.ClassTag, byte[], scala.runtime.ObjectRef, scala.runtime.VolatileByteRef);

After this patch, not very sure if we could have avoided it. Since this method was an inner method.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@ScrapCodes
Copy link
Member

I just tried extracting createZero out and making it private, since the method is used in two places now. But making it private did not help, the mima warning is still there.

@AmplabJenkins
Copy link

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15707/

@pwendell
Copy link
Contributor

@ScrapCodes. Ah I see - there was a name collision with an inner function that was used elsewhere.

@pwendell
Copy link
Contributor

Thanks Sandy - I'm merging this!

@asfgit asfgit closed this in ce92a9c Jun 12, 2014
pdeyhim pushed a commit to pdeyhim/spark-1 that referenced this pull request Jun 25, 2014
Author: Sandy Ryza <[email protected]>

Closes apache#705 from sryza/sandy-spark-554 and squashes the following commits:

2302b8f [Sandy Ryza] Add MIMA exclude
f52e0ad [Sandy Ryza] Fix Python tests for real
2f3afa3 [Sandy Ryza] Fix Python test
0b735e9 [Sandy Ryza] Fix line lengths
ae56746 [Sandy Ryza] Fix doc (replace T with V)
c2be415 [Sandy Ryza] Java and Python aggregateByKey
23bf400 [Sandy Ryza] SPARK-554.  Add aggregateByKey.
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
Author: Sandy Ryza <[email protected]>

Closes apache#705 from sryza/sandy-spark-554 and squashes the following commits:

2302b8f [Sandy Ryza] Add MIMA exclude
f52e0ad [Sandy Ryza] Fix Python tests for real
2f3afa3 [Sandy Ryza] Fix Python test
0b735e9 [Sandy Ryza] Fix line lengths
ae56746 [Sandy Ryza] Fix doc (replace T with V)
c2be415 [Sandy Ryza] Java and Python aggregateByKey
23bf400 [Sandy Ryza] SPARK-554.  Add aggregateByKey.
Alexis-D pushed a commit to Alexis-D/spark that referenced this pull request Nov 16, 2020
turboFei pushed a commit to turboFei/spark that referenced this pull request Nov 6, 2025
…ath option (apache#705)

* [SPARK-51281][SQL] DataFrameWriterV2 should respect the path option

Unlike `DataFrameWriter.saveAsTable` where we explicitly get the "path" option and treat it as table location, `DataFrameWriterV2` doesn't do it and treats the "path" option as a normal option which doesn't have any real impact.

This PR fixes it, and adds a legacy config to restore the old behavior.

bug fix

Yes, now `DataFrameWriterV2` can correctly write data to the specified path for file source tables.

new test

no

Closes apache#50040 from cloud-fan/prop.

Lead-authored-by: Wenchen Fan <[email protected]>
Co-authored-by: Wenchen Fan <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit a3671e5)
Signed-off-by: Wenchen Fan <[email protected]>
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.

5 participants