[
https://issues.apache.org/jira/browse/DRILL-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731402#comment-16731402
]
Arina Ielchiieva commented on DRILL-2432:
-----------------------------------------
Works fine in Drill 1.15.0:
{noformat}
./sqlline -u "jdbc:drill:zk=local"
Apache Drill 1.15.0-SNAPSHOT
"Keep your data close, but your Drillbits closer."
0: jdbc:drill:zk=local> select * from sys.version;
+------------------+-------------------------------------------+----------------------------------------------------------------------------------+----------------------------+-----------------------------+----------------------------+
| version | commit_id |
commit_message |
commit_time | build_email | build_time |
+------------------+-------------------------------------------+----------------------------------------------------------------------------------+----------------------------+-----------------------------+----------------------------+
| 1.15.0-SNAPSHOT | e3eb615448eb529d4969b45c2912a42e02b97fd4 | DRILL-6931:
File listing: fix issue for S3 directory objects and improve performance for
recursive listing | 29.12.2018 @ 19:48:32 EET | [email protected] |
31.12.2018 @ 10:58:36 EET |
+------------------+-------------------------------------------+----------------------------------------------------------------------------------+----------------------------+-----------------------------+----------------------------+
1 row selected (1.294 seconds)
0: jdbc:drill:zk=local> !quit
Closing: org.apache.drill.jdbc.impl.DrillConnectionImpl
./sqlline -u "jdbc:drill:zk=local" --showHeader=false
Apache Drill 1.15.0-SNAPSHOT
"Drill, baby, Drill."
0: jdbc:drill:zk=local> select * from sys.version;
| 1.15.0-SNAPSHOT | e3eb615448eb529d4969b45c2912a42e02b97fd4 | DRILL-6931:
File listing: fix issue for S3 directory objects and improve performance for
recursive listing | 29.12.2018 @ 19:48:32 EET | [email protected] |
31.12.2018 @ 10:58:36 EET |
1 row selected (1.269 seconds)
0: jdbc:drill:zk=local>
{noformat}
> Passing "--showHeader=false" to sqlline does not work
> ------------------------------------------------------
>
> Key: DRILL-2432
> URL: https://issues.apache.org/jira/browse/DRILL-2432
> Project: Apache Drill
> Issue Type: Bug
> Components: Client - CLI
> Affects Versions: 0.8.0
> Reporter: Krystal
> Priority: Minor
>
> git.commit.id=f658a3c513ddf7f2d1b0ad7aa1f3f65049a594fe
> If passing "--showHeader=false" to sqlline connection command, the column
> names from the query result should not be displayed. However, the column
> names are being returned with the result.
> /opt/drill/bin/sqlline --showHeader=false -u "jdbc:drill:zk:local"
> 0: jdbc:drill:zk=local> select * from voter limit 5;
> +------------+------------+------------+--------------+---------------+------------+-------------+
> | voter_id | name | age | registration | contributions |
> voterzone | create_time |
> +------------+------------+------------+--------------+---------------+------------+-------------+
> | 1 | [B@619754cb | 68 | [B@16400d7b | 717.12 |
> 13809 | [B@473511a6 |
> | 2 | [B@6d19cdcf | 48 | [B@391708fe | 840.06 |
> 19451 | [B@174f78fa |
> | 3 | [B@628f710a | 18 | [B@37467a13 | 128.2 | 8750
> | [B@73f891be |
> | 4 | [B@44288c6d | 61 | [B@421b6b10 | 721.6 |
> 20462 | [B@16120958 |
> | 5 | [B@7a237bb9 | 39 | [B@2f8fed54 | 800.22 |
> 25151 | [B@12263e31 |
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)