[
https://issues.apache.org/jira/browse/IMPALA-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltán Borók-Nagy reassigned IMPALA-6709:
-----------------------------------------
Assignee: Zoltán Borók-Nagy
> Simplify tests that copy local files to tables
> ----------------------------------------------
>
> Key: IMPALA-6709
> URL: https://issues.apache.org/jira/browse/IMPALA-6709
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Reporter: Csaba Ringhofer
> Assignee: Zoltán Borók-Nagy
> Priority: Minor
> Labels: ramp-up
>
> tests/query_test/ contains several tests that use "hdfs dfs -copyFromLocal"
> to fill tables with files that cannot be created with Impala. The current
> way of doing this looks like "copy paste" and adds unnecessary complexity to
> the test code. The common pattern of "create a table, copy 1-2 files to it"
> could be covered by a single function, or could be moved to the .test files,
> which support SHELL sections.
> for an example of SHELL section, see
> https://github.com/apache/impala/blob/8dde41e802e3566d07e2db7b2bf5cd76030ab3d3/testdata/workloads/functional-query/queries/QueryTest/parquet-resolution-by-name.test#L75
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]