You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neville Dipale (Jira)" <ji...@apache.org> on 2020/12/23 14:51:00 UTC

[jira] [Resolved] (ARROW-10967) [Rust] Make env vars ARROW_TEST_DATA and PARQUET_TEST_DATA optional

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

Neville Dipale resolved ARROW-10967.
------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 8967
[https://github.com/apache/arrow/pull/8967]

> [Rust] Make env vars ARROW_TEST_DATA and PARQUET_TEST_DATA optional
> -------------------------------------------------------------------
>
>                 Key: ARROW-10967
>                 URL: https://issues.apache.org/jira/browse/ARROW-10967
>             Project: Apache Arrow
>          Issue Type: Test
>            Reporter: meng qingyou
>            Assignee: meng qingyou
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.0.0
>
>          Time Spent: 6h 40m
>  Remaining Estimate: 0h
>
> Current state:
>  * Two env vars *ARROW_TEST_DATA* and *PARQUET_TEST_DATA* are required to be set, for running tests,  benchmark.
>  * The major usage likes this: let testdata = std::env::var("PARQUET_TEST_DATA").expect("PARQUET_TEST_DATA not defined"); 
>  * These already exist some codes that tried to assembly the test data directories by appending relative dir to *current dir* of current running process. 
> So it would be better if add several public utility functions for getting test data dir. Basic design is:
> If env is defined  and the value points to existing dir, then we get it;
> Else try getting the data dir based on: current dir, default relative dir, etc.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)