hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HIVE-14409) Allow regex pattern in the output of qtest
Date Wed, 03 Aug 2016 19:00:22 GMT

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

Sergey Shelukhin edited comment on HIVE-14409 at 8/3/16 7:00 PM:
-----------------------------------------------------------------

Judging by the changes in the out files, this doesn't scale very well (aside from not being
able to overwrite with maven, which is a huge pain esp. if this is used in many tests).
For 2 values, it's ok to "or" the orders... What if there are 4 values? I think for explain
it's much easier to just enforce order. Or, given that list format is relatively well-defined,
it could have a list of order-agnostic patterns, kinda like it has a list of patterns to ignore.
Then it can extract the list for such prefixes/patterns and reorder as needed. We already
have similar functionality in SORT_QUERY_RESULTS.



was (Author: sershe):
Judging by the changes in the file, this doesn't scale very well (aside from not being able
to overwrite with maven, which is a huge pain esp. if this is used in many tests).
For 2 values, it's ok to "or" the orders... What if there are 4 values? I think for explain
it's much easier to just enforce order. Or, given that list format is relatively well-defined,
it could have a list of order-agnostic patterns, kinda like it has a list of patterns to ignore.
Then it can extract the list for such prefixes/patterns and reorder as needed. We already
have similar functionality in SORT_QUERY_RESULTS.


> Allow regex pattern in the output of qtest
> ------------------------------------------
>
>                 Key: HIVE-14409
>                 URL: https://issues.apache.org/jira/browse/HIVE-14409
>             Project: Hive
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>         Attachments: HIVE-14409.00.patch
>
>
> We cannot guarantee the output from external libraries (ex. HashMap), so we need to make
the validation infrastructure to allow a sort within a single line.
> HIVE-13894, HIVE-13907, and HIVE-14088 are related.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message