[
https://issues.jboss.org/browse/TEIIDDES-1826?page=com.atlassian.jira.plu...
]
Mark Drilling commented on TEIIDDES-1826:
-----------------------------------------
- The user is allowed to choose a single file in the Flat File Connection Profile, but we
were not handling that case. Now setting the 'ParentDirectory' property
successfully for this case.
- The user is also allowed to enter a remote file URI in the Flat File connection profile.
More work is required in Designer for this scenario (need to utilize WebService RA instead
of File RA, same as we do with XML).
- Added checks for the URI case to let user know the local dir was not found
Pull Request:
https://github.com/Teiid-Designer/teiid-designer/pull/227
Designer doesn't yet support Flat File Connection Profile URL
input option
--------------------------------------------------------------------------
Key: TEIIDDES-1826
URL:
https://issues.jboss.org/browse/TEIIDDES-1826
Project: Teiid Designer
Issue Type: Enhancement
Components: Datatools Integration
Affects Versions: 8.2
Reporter: Barry LaFond
Assignee: Mark Drilling
Priority: Critical
Fix For: 8.2
Flat File connection profile wizard includes a "Enter File URI:" input field.
The intention is to select a specific data file (.txt, .csv, etc.) instead of a data
"folder" containing one or more of these files.
Teiid Designer's Flat File importer only expects the "folder" version.
Need to work with a single file URI
Don't know if remote URI or just a local file URI is implied. The
"Browse..." button only searches local/remote file system connections. Not sure
if HTTP is supported.
Test with product data at:
http://download.jboss.org/teiid/designer/data/products/file/productdata_d...
Note that Teiid's File data source is expecting a Folder location in it's
properties. The Source model will contain a tag like:
key="connection:FlatFileHomeUrl" value="/home/blafond/Testing/Test
Data/FlatFileData/employee-data"/> and the file name will be injected into the
generated SQL for the virtual table.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira