Skip to content

Commit 428eb2a

Browse files
Jackey Leesrowen
authored andcommitted
[SPARK-26394][CORE] Fix annotation error for Utils.timeStringAsMs
## 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 <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent befca98 commit 428eb2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/util/Utils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ private[spark] object Utils extends Logging {
10371037
}
10381038

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

0 commit comments

Comments
 (0)