Skip to content

Comments

[SPARK-30547][SQL][FOLLOWUP] Update since anotation for CalendarInterval class#27299

Closed
yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn:SPARK-30547-F
Closed

[SPARK-30547][SQL][FOLLOWUP] Update since anotation for CalendarInterval class#27299
yaooqinn wants to merge 1 commit intoapache:masterfrom
yaooqinn:SPARK-30547-F

Conversation

@yaooqinn
Copy link
Member

What changes were proposed in this pull request?

Mark CalendarInterval class with since 3.0.0.

Why are the changes needed?

https://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#@since

This class is the first time going to the public, the annotation is the first time to add, and we don't want people to get confused and try to use it 2.4.x.

Does this PR introduce any user-facing change?

no

How was this patch tested?

no

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you for the follow-up.

@SparkQA
Copy link

SparkQA commented Jan 21, 2020

Test build #117145 has finished for PR 27299 at commit 275f8e6.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@yaooqinn
Copy link
Member Author

retest this please

@SparkQA
Copy link

SparkQA commented Jan 21, 2020

Test build #117170 has finished for PR 27299 at commit 275f8e6.

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

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 730388b Jan 21, 2020
* @since 1.5.0
* @since 3.0.0
*/
@Unstable
Copy link
Member

Choose a reason for hiding this comment

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

BTW, are we going to expose this as an API? Technically, this is under internal package which isn't documented:
https://github.com/apache/spark/blob/master/project/SparkBuild.scala#L828

Copy link
Member

Choose a reason for hiding this comment

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

Let me open a PR after a quick test.

Copy link
Member

Choose a reason for hiding this comment

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

+1

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants