[
https://issues.apache.org/jira/browse/ASTERIXDB-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17443939#comment-17443939
]
ASF subversion and git services commented on ASTERIXDB-2983:
------------------------------------------------------------
Commit 35fd66de55fb1727c435336c9dd27146d2ffd0de in asterixdb's branch
refs/heads/master from Wail Alkowaileet
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=35fd66d ]
[ASTERIXDB-2983][EXT] Warn on no-files for Parquet instead of failing
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Parquet adapter fails (IOException) if no files were returned
- We should warn instead of failing to be consistent with other
file formats (e.g., JSON)
- This patch also fixes inappropriate calls to
IWarningCollector#shouldWarn()
Change-Id: Ie929046ef01ea5eee60d23f6e4665ac6727e2d1e
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14063
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Wael Alkowaileet <[email protected]>
Reviewed-by: Hussain Towaileb <[email protected]>
> "Parquet" format external datasets fail when no files exist in the queried
> external data source
> -----------------------------------------------------------------------------------------------
>
> Key: ASTERIXDB-2983
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2983
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: EXT - External data
> Affects Versions: 0.9.7
> Reporter: Hussain Towaileb
> Assignee: Wail Y. Alkowaileet
> Priority: Major
> Fix For: 0.9.8
>
>
> Steps to reproduce:
> 1- Have an S3 bucket with no files in it
> 2- Create an external dataset pointing to the bucket in step 1, or point to a
> path that has no files.
> 3- Query the created external dataset, observe the below error.
>
> {code:java}
> Caused by: java.io.IOException: No input paths specified in job{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)