Encountering a org.teiid.jdbc.TeiidSQLException: Input length = 1 error for Text File in EDS

Solution Verified - Updated -

Issue

  • I'm running a query against my File Data Source and am getting the following error:
FATAL: org.teiid.jdbc.TeiidSQLException: Input length = 1
org.teiid.jdbc.TeiidSQLException: Input length = 1
    at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:113)
    at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:70)
    at org.teiid.jdbc.StatementImpl.postReceiveResults(StatementImpl.java:636)
    at org.teiid.jdbc.StatementImpl.access$100(StatementImpl.java:62)
    at org.teiid.jdbc.StatementImpl$2.onCompletion(StatementImpl.java:547)
    at org.teiid.client.util.ResultsFuture.done(ResultsFuture.java:130)
    at org.teiid.client.util.ResultsFuture.access$200(ResultsFuture.java:37)
    at org.teiid.client.util.ResultsFuture$1.receiveResults(ResultsFuture.java:75)
    at org.teiid.net.socket.SocketServerInstanceImpl.receivedMessage(SocketServerInstanceImpl.java:222)
    at org.teiid.net.socket.SocketServerInstanceImpl.read(SocketServerInstanceImpl.java:257)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
...

Environment

  • Red Hat JBoss Data Services (EDS) 5.3.1
  • Text File Translator

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In