You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/09/24 07:17:22 UTC

[GitHub] [incubator-iceberg] waterlx commented on issue #492: Should issue an error message when no data file to delete

waterlx commented on issue #492: Should issue an error message when no data file to delete
URL: https://github.com/apache/incubator-iceberg/issues/492#issuecomment-534425688
 
 
   I used the following API, trying to delete a data file
   ```
   table.newDelete().deleteFile("file:///path1")
   ```
   And got the following message: INFO SnapshotProducer: `Committed snapshot xxxxx (StreamingDelete)`
   I thought the deletion succeeded, but actually it did not, because the data file is "file:/path1", not "file:///path1".
   While [file URI scheme](https://en.wikipedia.org/wiki/File_URI_scheme) is another topic, but it would be better to issue an error/warning here when files to delete are not in data files.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org