You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2017/07/24 12:23:00 UTC

[jira] [Created] (HIVE-17158) BeeLine Query Log and Query Result print order is not defined

Peter Vary created HIVE-17158:
---------------------------------

             Summary: BeeLine Query Log and Query Result print order is not defined
                 Key: HIVE-17158
                 URL: https://issues.apache.org/jira/browse/HIVE-17158
             Project: Hive
          Issue Type: Bug
          Components: Beeline, Testing Infrastructure
    Affects Versions: 3.0.0
            Reporter: Peter Vary
            Assignee: Peter Vary


The output of the BeeLine tests is sometimes flaky, especially if the query is a fast one

The output is sometime this:
{code}
PREHOOK: query: select explode(array('a', 'b'))
PREHOOK: type: QUERY
PREHOOK: Input: _dummy_database@_dummy_table
#### A masked pattern was here ####
POSTHOOK: query: select explode(array('a', 'b'))
POSTHOOK: type: QUERY
POSTHOOK: Input: _dummy_database@_dummy_table
#### A masked pattern was here ####
a
b
{code}

Sometime this:
{code}
a
b
PREHOOK: query: select explode(array('a', 'b'))
PREHOOK: type: QUERY
PREHOOK: Input: _dummy_database@_dummy_table
#### A masked pattern was here ####
POSTHOOK: query: select explode(array('a', 'b'))
POSTHOOK: type: QUERY
POSTHOOK: Input: _dummy_database@_dummy_table
#### A masked pattern was here ####
{code}

Notice, that the actual query result is either before, or after the stuff printed by the hooks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)