You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/21 10:52:21 UTC

[GitHub] [spark] HyukjinKwon opened a new pull request #24661: [MINOR][PYTHON] Remove explain(True) in test_udf.py

HyukjinKwon opened a new pull request #24661: [MINOR][PYTHON] Remove explain(True) in test_udf.py
URL: https://github.com/apache/spark/pull/24661
 
 
   ## What changes were proposed in this pull request?
   
   Before:
   
   
   ```
   Running tests...
   ----------------------------------------------------------------------
   Setting default log level to "WARN".
   To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
   == Parsed Logical Plan ==
   GlobalLimit 1
   +- LocalLimit 1
      +- Project [id#668L, <lambda>(id#668L) AS copy#673]
         +- Sort [id#668L ASC NULLS FIRST], true
            +- Range (0, 10, step=1, splits=Some(4))
   
   == Analyzed Logical Plan ==
   id: bigint, copy: int
   GlobalLimit 1
   +- LocalLimit 1
      +- Project [id#668L, <lambda>(id#668L) AS copy#673]
         +- Sort [id#668L ASC NULLS FIRST], true
            +- Range (0, 10, step=1, splits=Some(4))
   
   == Optimized Logical Plan ==
   GlobalLimit 1
   +- LocalLimit 1
      +- Project [id#668L, pythonUDF0#676 AS copy#673]
         +- BatchEvalPython [<lambda>(id#668L)], [id#668L, pythonUDF0#676]
            +- Range (0, 10, step=1, splits=Some(4))
   
   == Physical Plan ==
   CollectLimit 1
   +- *(2) Project [id#668L, pythonUDF0#676 AS copy#673]
      +- BatchEvalPython [<lambda>(id#668L)], [id#668L, pythonUDF0#676]
         +- *(1) Range (0, 10, step=1, splits=4)
   
   ...........................................
   ----------------------------------------------------------------------
   Ran 43 tests in 19.777s
   ```
   
   After:
   
   ```
   Running tests...
   ----------------------------------------------------------------------
   Setting default log level to "WARN".
   To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
   ...........................................
   ----------------------------------------------------------------------
   Ran 43 tests in 25.201s
   ```
   
   
   ## How was this patch tested?
   
   N/A
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org