]
Barry LaFond closed TEIIDDES-1553.
----------------------------------
Resolution: Won't Fix
This is a Data Tools issue and with the new Preview VDB.xml dialog users can define their
own sql for a given view.
Executing SQL in the SQL Scrapbook fails if SQL not on one line.
----------------------------------------------------------------
Key: TEIIDDES-1553
URL:
https://issues.jboss.org/browse/TEIIDDES-1553
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Reporter: Samuel Mendenhall
After adding an existing Teiid instance to the Datasource Explorer and opening the SQL
Scrapbook to execute SQL against that Teiid connection, the SQL must be executed on one
line otherwise an error is thrown:
Remote org.teiid.api.exception.query.QueryParserException: Parsing error: Encountered
"-" at line 1, column 1.
Was expecting one of:
"alter" ...
"call" ...
"create" ...
"delete" ...
"drop" ...
"exec" ...
"execute" ...
"insert" ...
"select" ...
"table" ...
...
This happens specifically when running "Execute Current Text" / option+s