[
https://issues.jboss.org/browse/TEIID-3346?page=com.atlassian.jira.plugin...
]
Kylin Soong edited comment on TEIID-3346 at 2/25/15 4:51 AM:
-------------------------------------------------------------
This may not a bug, it seems it's default design behavior which can not use Dot as
column name, Model name, or any nameinsource string, I met this error several time.
[1] can quick reproduce, No Dot logic seems defined in javacc SQLParser.jj file. We may
document that column name can not contain a Dot to solve this issue.
[1]
https://github.com/kylinsoong/teiid-samples/blob/master/teiid-test/src/ma...
was (Author: kylin):
This may not a bug, it seems it's default design behavior which can not use Dot as
column name, Model name, or any nameinsource string, I met this error several time.
File Source | Dot in file column names causes VDB deployment errors
-------------------------------------------------------------------
Key: TEIID-3346
URL:
https://issues.jboss.org/browse/TEIID-3346
Project: Teiid
Issue Type: Bug
Reporter: Shiveeta Mattoo
Assignee: Steven Hawkins
In case a Delimited Flat file , contains a "Dot" character in any of the column
names, we get an issue during Virtual Data Base deployment -
Root cause -
org.teiid.api.exception.query.QueryParserException: TEIID31100 Parsing error: Encountered
"'UTF-8') COLUMNS [*]\"name.full\"[*] STRING," at line 1,
column 126.
Invalid simple identifier format: [name.full]
The query is : SELECT A."name.full",A."surname" FROM (EXEC
tabwithdot.getFiles('tab.csv')) AS F, TEXTTABLE(TO_CHARS(F.file,'UTF-8')
COLUMNS "name.full" STRING,"surname" STRING delimiter ' '
quote ' ' HEADER) AS A
Please note, that although the column name [name.full], is enclosed in Double Quotes,
still this issue is observed.
If there was instead any other special character, that works successfully.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)