Skip to content

Conversation

@adrian-wang
Copy link
Contributor

this patch fixes timestamp smaller than 0 and cast int as timestamp

select cast(1000 as timestamp) from src limit 1;

should return 1970-01-01 00:00:01, but we now take it as 1000 seconds.
also, current implementation has bug when the time is before 1970-01-01 00:00:00.
@rxin @marmbrus @chenghao-intel

@SparkQA
Copy link

SparkQA commented Sep 19, 2014

QA tests have started for PR 2458 at commit 4274b1d.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Sep 19, 2014

QA tests have finished for PR 2458 at commit 4274b1d.

  • This patch passes unit tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • sealed trait Matrix extends Serializable
    • class SparseMatrix(
    • sealed trait Vector extends Serializable

@marmbrus
Copy link
Contributor

Thanks! Merged to master.

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.

3 participants