GitHub user HyukjinKwon opened a pull request:
https://github.com/apache/spark/pull/19808
[SPARK-22597][SQL] Add spark-sql cmd script for Windows users
## 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.
```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.
```
```cmd
C:\...\spark>.\bin\spark-sql
...
spark-sql> SELECT 'Hello World !!';
...
Hello World !!
Time taken: 4.022 seconds, Fetched 1 row(s)
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/HyukjinKwon/spark spark-sql-cmd
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19808.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #19808
----
commit d1ddede1ac34deb3732670e7425ec0b84b6d0508
Author: hyukjinkwon <[email protected]>
Date: 2017-11-24T01:10:47Z
Add spark-sql script for Windows users
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]