Skip to content
  • Dongjoon Hyun's avatar
    d17e5f2f
    [SPARK-16233][R][TEST] ORC test should be enabled only when HiveContext is available. · d17e5f2f
    Dongjoon Hyun authored
    ## What changes were proposed in this pull request?
    
    ORC test should be enabled only when HiveContext is available.
    
    ## How was this patch tested?
    
    Manual.
    ```
    $ R/run-tests.sh
    ...
    1. create DataFrame from RDD (test_sparkSQL.R#200) - Hive is not build with SparkSQL, skipped
    
    2. test HiveContext (test_sparkSQL.R#1021) - Hive is not build with SparkSQL, skipped
    
    3. read/write ORC files (test_sparkSQL.R#1728) - Hive is not build with SparkSQL, skipped
    
    4. enableHiveSupport on SparkSession (test_sparkSQL.R#2448) - Hive is not build with SparkSQL, skipped
    
    5. sparkJars tag in SparkContext (test_Windows.R#21) - This test is only for Windows, skipped
    
    DONE ===========================================================================
    Tests passed.
    ```
    
    Author: Dongjoon Hyun <dongjoon@apache.org>
    
    Closes #14019 from dongjoon-hyun/SPARK-16233.
    d17e5f2f
    [SPARK-16233][R][TEST] ORC test should be enabled only when HiveContext is available.
    Dongjoon Hyun authored
    ## What changes were proposed in this pull request?
    
    ORC test should be enabled only when HiveContext is available.
    
    ## How was this patch tested?
    
    Manual.
    ```
    $ R/run-tests.sh
    ...
    1. create DataFrame from RDD (test_sparkSQL.R#200) - Hive is not build with SparkSQL, skipped
    
    2. test HiveContext (test_sparkSQL.R#1021) - Hive is not build with SparkSQL, skipped
    
    3. read/write ORC files (test_sparkSQL.R#1728) - Hive is not build with SparkSQL, skipped
    
    4. enableHiveSupport on SparkSession (test_sparkSQL.R#2448) - Hive is not build with SparkSQL, skipped
    
    5. sparkJars tag in SparkContext (test_Windows.R#21) - This test is only for Windows, skipped
    
    DONE ===========================================================================
    Tests passed.
    ```
    
    Author: Dongjoon Hyun <dongjoon@apache.org>
    
    Closes #14019 from dongjoon-hyun/SPARK-16233.
Loading