Skip to content

[SPARK-34878][SQL][TESTS] Check actual sizes of year-month and day-time intervals#32366

Closed
Peng-Lei wants to merge 1 commit intoapache:masterfrom
Peng-Lei:SPARK-34878
Closed

[SPARK-34878][SQL][TESTS] Check actual sizes of year-month and day-time intervals#32366
Peng-Lei wants to merge 1 commit intoapache:masterfrom
Peng-Lei:SPARK-34878

Conversation

@Peng-Lei
Copy link
Contributor

What changes were proposed in this pull request?

As we have suport the year-month and day-time intervals. Add the test actual size of year-month and day-time intervals type

Why are the changes needed?

Just add test

Does this PR introduce any user-facing change?

No

How was this patch tested?

./dev/scalastyle
run test for "ColumnTypeSuite"

@github-actions github-actions bot added the SQL label Apr 27, 2021
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@MaxGekk MaxGekk changed the title [SPARK-34878][SQL]Test actual size of year-month and day-time intervals [SPARK-34878][SQL][TESTS] Check actual sizes of year-month and day-time intervals Apr 27, 2021
Copy link
Member

@MaxGekk MaxGekk left a comment

Choose a reason for hiding this comment

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

@Peng-Lei The added objects can be used in SPARK-35243

Comment on lines 284 to 285
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
override def copyField(from: InternalRow, fromOrdinal: Int,
to: InternalRow, toOrdinal: Int): Unit = {
override def copyField(
from: InternalRow,
fromOrdinal: Int,
to: InternalRow,
toOrdinal: Int): Unit = {

See rules for indentations at https://github.com/databricks/scala-style-guide#spacing-and-indentation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Comment on lines 313 to 314
Copy link
Member

Choose a reason for hiding this comment

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

Fix indentation, please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@Peng-Lei
Copy link
Contributor Author

@Peng-Lei The added objects can be used in SPARK-35243

Thank you very much,It seems that you have found a task for me. Thanks again

@MaxGekk
Copy link
Member

MaxGekk commented Apr 28, 2021

+1, LGTM. Merging to master.
Thank you, @Peng-Lei .

@MaxGekk MaxGekk closed this in 046c8c3 Apr 28, 2021
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.

3 participants