You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Stuart Hayes (JIRA)" <ji...@apache.org> on 2018/04/05 11:46:00 UTC
[jira] [Commented] (DRILL-2432) Passing "--showHeader=false" to
sqlline does not work
[ https://issues.apache.org/jira/browse/DRILL-2432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426787#comment-16426787 ]
Stuart Hayes commented on DRILL-2432:
-------------------------------------
This still seems to be an issue atleast in Drill 1.12. Command line or set command showHeader=false doesn't have any effect.
> 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
> Fix For: Future
>
>
> 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)