[teiid-issues] [JBoss JIRA] (TEIID-6012) Can we read csv file without using texttable and xmltable function
Steven Hawkins (Jira)
issues at jboss.org
Mon Aug 10 11:25:00 EDT 2020
[ https://issues.redhat.com/browse/TEIID-6012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Hawkins resolved TEIID-6012.
-----------------------------------
Resolution: Explained
You use something like TEXTTABLE or XMLTABLE to convey how to convert a given file into a tabular representation. Since this is a common function it was promoted to the engine rather than handled by a translator as csv / xml is obtained from a variety of sources. Once you have the sql create you expected output, you can create a view, and optionally materialize that, then access it as if it were any other table/view.
At this time there are no plans to add a TEXT translator. If you want further encapsulation of the text processing there are other drivers and projects that can be utilized and then accessed as a source.
> Can we read csv file without using texttable and xmltable function
> ------------------------------------------------------------------
>
> Key: TEIID-6012
> URL: https://issues.redhat.com/browse/TEIID-6012
> Project: Teiid
> Issue Type: Feature Request
> Reporter: Nayan Bija
> Assignee: Steven Hawkins
> Priority: Major
>
>
> We need to read CSV file data from the GCP storage.
> so we are following steps mentioned in the ticket TEIID-5940
> It is mentioned in the third step, that you will have to use TEXTTABLE or XMLTABLE functions to consume CSV or XML.
>
> So I just have a question without using this function can we write a query. just like we write for other databases like MYSQL, SQLServer, BigQuery, etc
>
> Also, want to know whether Amazon S3 is a free or paid translator?
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the teiid-issues
mailing list