Skip to content
  • hyukjinkwon's avatar
    a1877f45
    [SPARK-22597][SQL] Add spark-sql cmd script for Windows users · a1877f45
    hyukjinkwon authored
    ## What changes were proposed in this pull request?
    
    This PR proposes to add cmd scripts so that Windows users can also run `spark-sql` script.
    
    ## How was this patch tested?
    
    Manually tested on Windows.
    
    **Before**
    
    ```cmd
    C:\...\spark>.\bin\spark-sql
    '.\bin\spark-sql' is not recognized as an internal or external command,
    operable program or batch file.
    
    C:\...\spark>.\bin\spark-sql.cmd
    '.\bin\spark-sql.cmd' is not recognized as an internal or external command,
    operable program or batch file.
    ```
    
    **After**
    
    ```cmd
    C:\...\spark>.\bin\spark-sql
    ...
    spark-sql> SELECT 'Hello World !!';
    ...
    Hello World !!
    ```
    
    Author: hyukjinkwon <gurwls223@gmail.com>
    
    Closes #19808 from HyukjinKwon/spark-sql-cmd.
    a1877f45
    [SPARK-22597][SQL] Add spark-sql cmd script for Windows users
    hyukjinkwon authored
    ## What changes were proposed in this pull request?
    
    This PR proposes to add cmd scripts so that Windows users can also run `spark-sql` script.
    
    ## How was this patch tested?
    
    Manually tested on Windows.
    
    **Before**
    
    ```cmd
    C:\...\spark>.\bin\spark-sql
    '.\bin\spark-sql' is not recognized as an internal or external command,
    operable program or batch file.
    
    C:\...\spark>.\bin\spark-sql.cmd
    '.\bin\spark-sql.cmd' is not recognized as an internal or external command,
    operable program or batch file.
    ```
    
    **After**
    
    ```cmd
    C:\...\spark>.\bin\spark-sql
    ...
    spark-sql> SELECT 'Hello World !!';
    ...
    Hello World !!
    ```
    
    Author: hyukjinkwon <gurwls223@gmail.com>
    
    Closes #19808 from HyukjinKwon/spark-sql-cmd.
Loading