Skip to content

[SPARK-20763][SQL][Backport-2.1] The function of month and day return the value which is not we expected. - #18054

Closed
10110346 wants to merge 1 commit into
apache:branch-2.1from
10110346:wip-lx-0522
Closed

[SPARK-20763][SQL][Backport-2.1] The function of month and day return the value which is not we expected.#18054
10110346 wants to merge 1 commit into
apache:branch-2.1from
10110346:wip-lx-0522

Conversation

@10110346

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR is to backport #17997 to Spark 2.1

when the date before "1582-10-04", the function of month and day return the value which is not we expected.
How was this patch tested?

unit tests

@ueshin

Copy link
Copy Markdown
Member

Jenkins, test this please.

@hvanhovell

Copy link
Copy Markdown
Contributor

ok to test

@SparkQA

Copy link
Copy Markdown

Test build #77170 has started for PR 18054 at commit 9f248f1.

@ueshin

Copy link
Copy Markdown
Member

Jenkins, retest this please.

@SparkQA

Copy link
Copy Markdown

Test build #77172 has finished for PR 18054 at commit 9f248f1.

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

@ueshin

Copy link
Copy Markdown
Member

LGTM

@ueshin

Copy link
Copy Markdown
Member

Thanks, merging to 2.1.

asfgit pushed a commit that referenced this pull request May 23, 2017
…turn the value which is not we expected.
What changes were proposed in this pull request?
This PR is to backport #17997 to Spark 2.1
when the date before "1582-10-04", the function of month and day return the value which is not we expected.
How was this patch tested?
unit tests
Author: liuxian <liu.xian3@zte.com.cn>
Closes#18054 from 10110346/wip-lx-0522.
@ueshin

Copy link
Copy Markdown
Member

Could you close the PR manually?

Sign up for freeto 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

@10110346@ueshin@hvanhovell@SparkQA