Steven Hawkins created TEIID-6019:
-------------------------------------
Summary: Normalize and expand file api and file glob search
Key: TEIID-6019
URL:
https://issues.redhat.com/browse/TEIID-6019
Project: Teiid
Issue Type: Enhancement
Components: Misc. Connectors
Reporter: Steven Hawkins
Assignee: Steven Hawkins
The file sources need to have consistent implementation of getFiles and should provide
additional information such as the full file path and if it's a directory. For
example currently it's possible to return directories in the file source if you
specify a non-glob directory path, but that information is not exposed.
The glob paths should all support multiple, not just a single * in the file name.
At a first glance we may not implement these changes for ftp, but just throw appropriate
exceptions - it currently only knows about returning a single file. It would be possible
to eventually add logic for that though as it supports similar file visiting logic as
Java.
So the focus will be on file, hdfs, and s3 - which [~invinci_1] is already looking into.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)