GitHub user xueyumusic opened a pull request:
https://github.com/apache/spark/pull/21567
[SPARK-24560][SS][MESOS] Fix some getTimeAsMs as getTimeAsSeconds
## What changes were proposed in this pull request?
This PR replaces some "getTimeAsMs" with "getTimeAsSeconds". This will
return a wrong value when the user specifies a value without a time unit.
## How was this patch tested?
manual test
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xueyumusic/spark fixGetTimeAs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21567.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21567
----
commit 10bf41ec86c0af59a791fa02b5efaedc7a164a3c
Author: xueyu <278006819@...>
Date: 2018-06-14T11:01:29Z
fix getTimeAs method
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]