Skip to content

Conversation

@davies
Copy link
Contributor

@davies davies commented Jun 9, 2015

This PR change to use Long as internal type for TimestampType for efficiency, which means it will the precision below 100ns.

@davies
Copy link
Contributor Author

davies commented Jun 9, 2015

cc @rxin @JoshRosen

Copy link
Contributor

Choose a reason for hiding this comment

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

this should be 0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Use -1 as an uninitialized value, easy for debug.

@rxin
Copy link
Contributor

rxin commented Jun 9, 2015

cc @liancheng to take a look at the column store stuff.

@rxin
Copy link
Contributor

rxin commented Jun 9, 2015

We also need to rewrite CastSuite to make it cover more stuff. The coverage currently is pretty low.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34539 has finished for PR 6733 at commit 309d2e1.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34573 has finished for PR 6733 at commit 246ee74.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34577 has finished for PR 6733 at commit 8f77ee0.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@liancheng
Copy link
Contributor

In-memory columnar part looks good. The test failure was because of timestamp precision change. We can just ignore those two Hive compatibility test cases.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34610 timed out for PR 6733 at commit 86fecfb after a configured wait of 175m.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #895 timed out for PR 6733 at commit 86fecfb after a configured wait of 175m.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34632 has finished for PR 6733 at commit d9565fa.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jun 10, 2015

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Jun 10, 2015

Test build #34631 has finished for PR 6733 at commit 65cf2f1.

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

Copy link
Contributor

Choose a reason for hiding this comment

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

why is this 10000L?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

milliseconds to 100ns

@rxin
Copy link
Contributor

rxin commented Jun 10, 2015

I'm going to merge this, but we should fix rest of the things later.

@JoshRosen would be great if you review this again too.

@asfgit asfgit closed this in 37719e0 Jun 10, 2015
@SparkQA
Copy link

SparkQA commented Jun 11, 2015

Test build #34638 has finished for PR 6733 at commit d9565fa.

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

Copy link
Contributor

Choose a reason for hiding this comment

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

since we are supporting timestamp here, Maybe we want to rename this object to DateTimeUtils, and also update the javadoc.

nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
This PR change to use Long as internal type for TimestampType for efficiency, which means it will the precision below 100ns.

Author: Davies Liu <[email protected]>

Closes apache#6733 from davies/timestamp and squashes the following commits:

d9565fa [Davies Liu] remove print
65cf2f1 [Davies Liu] fix Timestamp in SparkR
86fecfb [Davies Liu] disable two timestamp tests
8f77ee0 [Davies Liu] fix scala style
246ee74 [Davies Liu] address comments
309d2e1 [Davies Liu] use Long for TimestampType in SQL
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.

5 participants