Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Drill >> mail # dev >> Review Request 16809: Adding support for Windows.  With this change, developers will be able to invoke sqlline in windows


+
Ravisankar Sivasubramania... 2014-01-12, 13:11
Copy link to this message
-
Re: Review Request 16809: Adding support for Windows.  With this change, developers will be able to invoke sqlline in windows

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16809/#review31602
-----------------------------------------------------------

sqlline.bat
<https://reviews.apache.org/r/16809/#comment60156>

    I haven't  tried your script yet, but if people follow the wiki guide does it still work?
    
    
- Timothy Chen
On Jan. 12, 2014, 1:11 p.m., Ravisankar Sivasubramaniam wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16809/
> -----------------------------------------------------------
>
> (Updated Jan. 12, 2014, 1:11 p.m.)
>
>
> Review request for drill.
>
>
> Bugs: 338
>     https://issues.apache.org/jira/browse/338
>
>
> Repository: drill-git
>
>
> Description
> -------
>
> contrib/sqlline/pom.xml has been updated to copy dependent jars into contrib/sqlline/target/dependencies folder.
>
> sqlline.bat has been created in the root folder to be used in windows machine.
>
>
> Diffs
> -----
>
>   contrib/sqlline/pom.xml d4963a6
>   sqlline.bat PRE-CREATION
>
> Diff: https://reviews.apache.org/r/16809/diff/
>
>
> Testing
> -------
>
> Test result is given below:
>
>
> 0: jdbc:drill:schema=parquet-local> select * from "sample-data/region.parquet";
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> +---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
>
> |                                                                                  _MAP                                                                               |
>
> +---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
>
> | {"R_REGIONKEY":0,"R_NAME":"AFRICA","R_COMMENT":"lar deposits. blithely final packages cajole. regular waters are final requests. regular accounts are according to  |
>
> | {"R_REGIONKEY":1,"R_NAME":"AMERICA","R_COMMENT":"hs use ironic, even requests. s"}                                                                                  |
>
> | {"R_REGIONKEY":2,"R_NAME":"ASIA","R_COMMENT":"ges. thinly even pinto beans ca"}                                                                                     |
>
> | {"R_REGIONKEY":3,"R_NAME":"EUROPE","R_COMMENT":"ly final courts cajole furiously final excuse"}                                                                     |
>
> | {"R_REGIONKEY":4,"R_NAME":"MIDDLE EAST","R_COMMENT":"uickly special accounts cajole carefully blithely close requests. carefully final asymptotes haggle furiousl"} |
>
> +---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
>
> 5 rows selected (3.452 seconds)
> 0: jdbc:drill:schema=parquet-local>
>
>
> Thanks,
>
> Ravisankar Sivasubramaniam
>
>