[
https://issues.apache.org/jira/browse/HIVE-13244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergio Peña updated HIVE-13244:
-------------------------------
Status: Patch Available (was: Open)
> Get 'test-query-redactor.json' file on TestQueryRedactor.java from the
> resources classpath
> ------------------------------------------------------------------------------------------
>
> Key: HIVE-13244
> URL: https://issues.apache.org/jira/browse/HIVE-13244
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 2.0.0
> Reporter: Sergio Peña
> Assignee: Sergio Peña
> Priority: Trivial
> Attachments: HIVE-13244.1.patch
>
>
> The 'test-query-redactor.json' file is used on TestQueryRedactor.java for
> doing redactor tests. This file is obtained using the following line:
> {code}
> conf.set("hive.query.redaction.rules", hiveRoot +
> "/ql/src/test/resources/test-query-redactor.json");
> {code}
> The location of the file is correct, but when running tests using the
> test-sources.jar file, the above line does not work. We should instead obtain
> the file using the {{ClassLoader.getSystemResource()}} to make it work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)