aboutsummaryrefslogtreecommitdiff
path: root/streaming
diff options
context:
space:
mode:
authorWenchen Fan <cloud0fan@outlook.com>2015-07-17 13:57:31 -0700
committerDavies Liu <davies.liu@gmail.com>2015-07-17 13:57:31 -0700
commit074085d6781a580017a45101b8b54ffd7bd31294 (patch)
tree688c8bb1bdbb00ea9e25be7b3fe19b40e52cb6a7 /streaming
parent9974642870404381fa425fadb966c6dd3ac4a94f (diff)
downloadspark-074085d6781a580017a45101b8b54ffd7bd31294.tar.gz
spark-074085d6781a580017a45101b8b54ffd7bd31294.tar.bz2
spark-074085d6781a580017a45101b8b54ffd7bd31294.zip
[SPARK-9136] [SQL] fix several bugs in DateTimeUtils.stringToTimestamp
a follow up of https://github.com/apache/spark/pull/7353 1. we should use `Calendar.HOUR_OF_DAY` instead of `Calendar.HOUR`(this is for AM, PM). 2. we should call `c.set(Calendar.MILLISECOND, 0)` after `Calendar.getInstance` I'm not sure why the tests didn't fail in jenkins, but I ran latest spark master branch locally and `DateTimeUtilsSuite` failed. Author: Wenchen Fan <cloud0fan@outlook.com> Closes #7473 from cloud-fan/datetime and squashes the following commits: 66cdaf2 [Wenchen Fan] fix several bugs in DateTimeUtils.stringToTimestamp
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions