[
https://issues.apache.org/jira/browse/HIVE-17158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16098408#comment-16098408
]
Peter Vary commented on HIVE-17158:
-----------------------------------
Ok. I was looking at old code. This was solved by HIVE-15473
> 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)