You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Zoltán Borók-Nagy (JIRA)" <ji...@apache.org> on 2018/08/27 13:54:00 UTC

[jira] [Resolved] (IMPALA-6709) Simplify tests that copy local files to tables

     [ https://issues.apache.org/jira/browse/IMPALA-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltán Borók-Nagy resolved IMPALA-6709.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.1.0

> 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
>             Fix For: Impala 3.1.0
>
>
> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org