Skip to content

Conversation

@kevinyu98
Copy link
Contributor

@kevinyu98 kevinyu98 commented Nov 1, 2018

What changes were proposed in this pull request?

Currently the AttributeReference.withMetadata method have return type Attribute, the rest of with methods in the AttributeReference return type are AttributeReference, as the spark-25892 mentioned.
This PR will change AttributeReference.withMetadata method's return type from Attribute to AttributeReference.

How was this patch tested?

Run all sql/test, catalyst/test and org.apache.spark.sql.execution.streaming.*

@kevinyu98 kevinyu98 changed the title [SPARK-25902][SQL]Change AttributeReference.withMetadata's return type to AttributeReference [SPARK-25892][SQL]Change AttributeReference.withMetadata's return type to AttributeReference Nov 1, 2018
Copy link
Member

@xuanyuanking xuanyuanking left a comment

Choose a reason for hiding this comment

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

+1, introduced from SPARK-18124 about watermark implementation.

@xuanyuanking
Copy link
Member

The as the spark-25902 mentioned. in pr description maybe a typo? SPARK-25892?

@kevinyu98
Copy link
Contributor Author

@xuanyuanking thanks, I fixed.

@HyukjinKwon
Copy link
Member

ok to test

@SparkQA
Copy link

SparkQA commented Dec 27, 2018

Test build #100470 has finished for PR 22918 at commit 7aa2e9f.

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

@HyukjinKwon
Copy link
Member

Merged to master.

@asfgit asfgit closed this in add287f Dec 27, 2018
holdenk pushed a commit to holdenk/spark that referenced this pull request Jan 5, 2019
…pe to AttributeReference

## What changes were proposed in this pull request?

Currently the `AttributeReference.withMetadata` method have return type `Attribute`, the rest of with methods in the `AttributeReference` return type are `AttributeReference`, as the [spark-25892](https://issues.apache.org/jira/browse/SPARK-25892?jql=project%20%3D%20SPARK%20AND%20component%20in%20(ML%2C%20PySpark%2C%20SQL)) mentioned.
This PR will change `AttributeReference.withMetadata` method's return type from `Attribute` to `AttributeReference`.
## How was this patch tested?

Run all `sql/test,` `catalyst/test` and `org.apache.spark.sql.execution.streaming.*`

Closes apache#22918 from kevinyu98/spark-25892.

Authored-by: Kevin Yu <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
jackylee-ch pushed a commit to jackylee-ch/spark that referenced this pull request Feb 18, 2019
…pe to AttributeReference

## What changes were proposed in this pull request?

Currently the `AttributeReference.withMetadata` method have return type `Attribute`, the rest of with methods in the `AttributeReference` return type are `AttributeReference`, as the [spark-25892](https://issues.apache.org/jira/browse/SPARK-25892?jql=project%20%3D%20SPARK%20AND%20component%20in%20(ML%2C%20PySpark%2C%20SQL)) mentioned.
This PR will change `AttributeReference.withMetadata` method's return type from `Attribute` to `AttributeReference`.
## How was this patch tested?

Run all `sql/test,` `catalyst/test` and `org.apache.spark.sql.execution.streaming.*`

Closes apache#22918 from kevinyu98/spark-25892.

Authored-by: Kevin Yu <[email protected]>
Signed-off-by: Hyukjin Kwon <[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.

4 participants