Skip to content

Conversation

@cloud-fan
Copy link
Contributor

@cloud-fan cloud-fan commented Dec 17, 2018

What changes were proposed in this pull request?

  1. rename FormatterUtils to DateTimeFormatterHelper, and move it to a separated file
  2. move DateFormatter and its implementation to a separated file
  3. mark some methods as private
  4. add override to some methods

How was this patch tested?

existing tests

@cloud-fan
Copy link
Contributor Author

cc @MaxGekk @HyukjinKwon

@MaxGekk
Copy link
Member

MaxGekk commented Dec 17, 2018

Would you mind to split its test too?

@SparkQA
Copy link

SparkQA commented Dec 17, 2018

Test build #100223 has finished for PR 23329 at commit 7837509.

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

@SparkQA
Copy link

SparkQA commented Dec 17, 2018

Test build #100224 has finished for PR 23329 at commit 84f80ec.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • sealed trait DateFormatter
  • class Iso8601DateFormatter(
  • class LegacyDateFormatter(pattern: String, locale: Locale) extends DateFormatter
  • class LegacyFallbackDateFormatter(
  • trait DateTimeFormatterHelper

@MaxGekk
Copy link
Member

MaxGekk commented Dec 17, 2018

LGTM

@SparkQA
Copy link

SparkQA commented Dec 17, 2018

Test build #100235 has finished for PR 23329 at commit f0b7f82.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class DateFormatterSuite extends SparkFunSuite with SQLHelper
  • class TimestampFormatterSuite extends SparkFunSuite with SQLHelper

@HyukjinKwon
Copy link
Member

Merged to master.

@asfgit asfgit closed this in 12640d6 Dec 17, 2018
@cloud-fan
Copy link
Contributor Author

thanks, merging to master!

@cloud-fan
Copy link
Contributor Author

Oops @HyukjinKwon you are faster :)

holdenk pushed a commit to holdenk/spark that referenced this pull request Jan 5, 2019
…ter.scala

## What changes were proposed in this pull request?

1. rename `FormatterUtils` to `DateTimeFormatterHelper`, and move it to a separated file
2. move `DateFormatter` and its implementation to a separated file
3. mark some methods as private
4. add `override` to some methods

## How was this patch tested?

existing tests

Closes apache#23329 from cloud-fan/minor.

Authored-by: Wenchen Fan <[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
…ter.scala

## What changes were proposed in this pull request?

1. rename `FormatterUtils` to `DateTimeFormatterHelper`, and move it to a separated file
2. move `DateFormatter` and its implementation to a separated file
3. mark some methods as private
4. add `override` to some methods

## How was this patch tested?

existing tests

Closes apache#23329 from cloud-fan/minor.

Authored-by: Wenchen Fan <[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