[
https://issues.apache.org/jira/browse/HIVE-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794918#action_12794918
]
Carl Steinbach commented on HIVE-1012:
--------------------------------------
@Prasad: Good suggestion, but it would then be necessary for the user to
specify "test1\.q" for "test1.q" since "test1.q" would mean "test1[any
character]q". Requiring the user to specify "test1\.q" seems onerous.
I also want to point out that you can convert any comma-separated "qfile"
string into a valid qfile_regex string by replacing all "." with "\." and all
"," with "|"
> Ability to run testcases via regular expression
> -----------------------------------------------
>
> Key: HIVE-1012
> URL: https://issues.apache.org/jira/browse/HIVE-1012
> Project: Hadoop Hive
> Issue Type: New Feature
> Components: Testing Infrastructure
> Reporter: Carl Steinbach
> Assignee: Carl Steinbach
> Fix For: 0.5.0
>
> Attachments: HIVE-1012.patch
>
>
> Currently the testing infrastructure makes it possible to specify individual
> testcases using the "qfile" switch, e.g.:
> ant test -Dtestcase=TestCliDriver -Dqfile=udf_sin.q,udf_cos.q,udf_acos.q
> I would also like to be able to specify testcases using a regular expression,
> e.g.:
> ant test -Dtestcase=TestCliDriver -Dqfile_regex="udf.*"
> The previous command should trigger the execution of all testcases starting
> with "udf".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.