[
https://issues.apache.org/jira/browse/ARROW-12827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-12827.
------------------------------
Fix Version/s: 5.0.0
Resolution: Fixed
Issue resolved by pull request 10483
[https://github.com/apache/arrow/pull/10483]
> [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
> Assignee: David Li
> Priority: Minor
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 1h 20m
> 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)