You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/01/13 01:09:01 UTC

[jira] [Commented] (IMPALA-9727) Explain output for Hbase Scans isn't formatted correctly

    [ https://issues.apache.org/jira/browse/IMPALA-9727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263801#comment-17263801 ] 

ASF subversion and git services commented on IMPALA-9727:
---------------------------------------------------------

Commit b68e610d7c0c9a2947379c2d345c1a3ef088311c in impala's branch refs/heads/3.x from Shant Hovsepian
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=b68e610 ]

IMPALA-9727: Fix HBaseScanNode explain formatting

In the case with more than one hbase predicate the indentation level
wasn't correctly formatted in the explain string.

Instead of:

|  |  13:SCAN HBASE [default.dimension d]
|  |     hbase filters:
|  |     d:foo EQUAL '1'
|  |     d:bar EQUAL '2'
|  |     d:baz EQUAL '3'
|  |     predicate:

This was produced:

|  | 13:SCAN HBASE [default.dimension d]
|  |     hbase filters:
   d:foo EQUAL '1'
   d:bar EQUAL '2'
   d:baz EQUAL '3'
|  |     predicate:

Change-Id: I30fad791408a1f7e35e9b3f2e6cb4958952dd567
Reviewed-on: http://gerrit.cloudera.org:8080/15749
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
(cherry picked from commit 7d260b602895280fab1a1a543a3e9700493febbd)


> Explain output for Hbase Scans isn't formatted correctly
> --------------------------------------------------------
>
>                 Key: IMPALA-9727
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9727
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 3.4.0
>            Reporter: Shant Hovsepian
>            Assignee: Shant Hovsepian
>            Priority: Trivial
>             Fix For: Impala 4.0
>
>
> {code:java}
> EXPLAIN SELECT * FROM default.dimension d WHERE foo = '1' AND bar = '2' AND baz = '3'{code}
> {{Outputs the following.}}
> {{| | 13:SCAN HBASE [default.dimension d]}}
> {{| | hbase filters:}}
> {{d:foo EQUAL '1'}}
> {{d:bar EQUAL '2'}}
> {{d:baz EQUAL '3'}}
> {{| | predicate:}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org