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

ASF GitHub Bot updated ARROW-12827:
-----------------------------------
    Labels: pull-request-available  (was: )

> [C++] [Dataset] Review error pass-through in the datasets API
> -------------------------------------------------------------
>
>                 Key: ARROW-12827
>                 URL: https://issues.apache.org/jira/browse/ARROW-12827
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Weston Pace
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> There is at least one (and I think there are actually several) places in the 
> datasets API where we are bubbling up errors without attaching the necessary 
> context.  For example, in the discussion here 
> [https://github.com/apache/arrow/pull/10326#pullrequestreview-662095548] a 
> call to "DatasetFactory::Create" (where the user incorrectly assigned a 
> default file format of parquet) is returning "Parquet magic bytes not found 
> in footer" instead of something like "Dataset creation failed. The fragment 
> '/2019/July/myfile.csv' did not match the expected 'parquet'' format: Parquet 
> magic bytes not found in footer"



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

Reply via email to