Skip to content
  • chie8842's avatar
    c3713fde
    [SPARK-21358][EXAMPLES] Argument of repartitionandsortwithinpartitions at pyspark · c3713fde
    chie8842 authored
    ## What changes were proposed in this pull request?
    At example of repartitionAndSortWithinPartitions at rdd.py, third argument should be True or False.
    I proposed fix of example code.
    
    ## How was this patch tested?
    * I rename test_repartitionAndSortWithinPartitions to test_repartitionAndSortWIthinPartitions_asc to specify boolean argument.
    * I added test_repartitionAndSortWithinPartitions_desc to test False pattern at third argument.
    
    (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a pull request.
    
    Author: chie8842 <chie8842@gmail.com>
    
    Closes #18586 from chie8842/SPARK-21358.
    c3713fde
    [SPARK-21358][EXAMPLES] Argument of repartitionandsortwithinpartitions at pyspark
    chie8842 authored
    ## What changes were proposed in this pull request?
    At example of repartitionAndSortWithinPartitions at rdd.py, third argument should be True or False.
    I proposed fix of example code.
    
    ## How was this patch tested?
    * I rename test_repartitionAndSortWithinPartitions to test_repartitionAndSortWIthinPartitions_asc to specify boolean argument.
    * I added test_repartitionAndSortWithinPartitions_desc to test False pattern at third argument.
    
    (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a pull request.
    
    Author: chie8842 <chie8842@gmail.com>
    
    Closes #18586 from chie8842/SPARK-21358.
Loading