Skip to content

Commit f097638

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 #23346 from stczwd/stczwd. Authored-by: Jackey Lee <qcsd2011@163.com> Signed-off-by: Sean Owen <sean.owen@databricks.com> (cherry picked from commit 428eb2a) Signed-off-by: Sean Owen <sean.owen@databricks.com>
1 parent 16986b2 commit f097638

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

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

0 commit comments

Comments
 (0)