This is an automated email from the ASF dual-hosted git repository.

srowen pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 832812e4 [SPARK-26394][CORE] Fix annotation error for 
Utils.timeStringAsMs
832812e4 is described below

commit 832812e4a254a9f9f0cbf1ee2d30244bdbdc15c1
Author: Jackey Lee <qcsd2...@163.com>
AuthorDate: Tue Dec 18 12:15:36 2018 -0600

    [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 <qcsd2...@163.com>
    Signed-off-by: Sean Owen <sean.o...@databricks.com>
    (cherry picked from commit 428eb2ad0ad8a141427120b13de3287962258c2d)
    Signed-off-by: Sean Owen <sean.o...@databricks.com>
---
 core/src/main/scala/org/apache/spark/util/Utils.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/org/apache/spark/util/Utils.scala 
b/core/src/main/scala/org/apache/spark/util/Utils.scala
index d4b72e8..9197c23 100644
--- a/core/src/main/scala/org/apache/spark/util/Utils.scala
+++ b/core/src/main/scala/org/apache/spark/util/Utils.scala
@@ -1106,7 +1106,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 = {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to