Skip to content

Commit

Permalink
[SPARK-26394][CORE] Fix annotation error for Utils.timeStringAsMs
Browse files Browse the repository at this point in the history
## What changes were proposed in this pull request?

Change microseconds to milliseconds in annotation of Utils.timeStringAsMs.

Closes apache#23346 from stczwd/stczwd.

Authored-by: Jackey Lee <qcsd2011@163.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
  • Loading branch information
jackylee-ch authored and srowen committed Dec 18, 2018
1 parent befca98 commit 428eb2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ private[spark] object Utils extends Logging {
}

/**
* Convert a time parameter such as (50s, 100ms, or 250us) to microseconds for internal use. If
* Convert a time parameter such as (50s, 100ms, or 250us) to milliseconds for internal use. If
* no suffix is provided, the passed number is assumed to be in ms.
*/
def timeStringAsMs(str: String): Long = {
Expand Down

0 comments on commit 428eb2a

Please sign in to comment.