Streaming Resultet containing database specific datatype columns may show 
'Internal bug: tried to receive using the UNDEFINED deserializer' error
-------------------------------------------------------------------------------------------------------------------------------------------------

         Key: SEQUOIA-1011
         URL: https://forge.continuent.org/jira/browse/SEQUOIA-1011
     Project: Sequoia
        Type: Bug

  Components: JDBC Driver, Core  
    Versions: Sequoia 2.10.9    
    Reporter: Stephane Giron
 Assigned to: Stephane Giron 
     Fix For: sequoia 2.10.10


Example from postgresql

create table t (i cidr); 
insert into t values (null)
insert into t values ('10')
insert into t values ('127')
insert into t values ('192.168.100.128/25')
insert into t values ('::ffff:1.2.3.0/120'); 

With a fetch size set to 1,

select * from t; 

will show :

java.lang.RuntimeException: Internal bug: tried to receive using the UNDEFINED 
deserializer
        at 
org.continuent.sequoia.common.protocol.SQLDataSerialization$UndefinedSerializer.receiveFromStream(SQLDataSerialization.j
ava:733)
        at 
org.continuent.sequoia.driver.DriverResultSet.receiveRows(DriverResultSet.java:3393)
        at 
org.continuent.sequoia.driver.DriverResultSet.next(DriverResultSet.java:237)

at the driver side and :

java.lang.RuntimeException: Internal bug: tried to send using the UNDEFINED 
serializer
        at 
org.continuent.sequoia.common.protocol.SQLDataSerialization$UndefinedSerializer.sendToStream(SQLDataSerialization.java:726)
        at 
org.continuent.sequoia.controller.backend.result.ControllerResultSet.sendRowsToStream(ControllerResultSet.java:639)
        at 
org.continuent.sequoia.controller.virtualdatabase.VirtualDatabaseWorkerThread.fetchNextResultSetRows(VirtualDatabaseWorkerThread.java:3622)
        at 
org.continuent.sequoia.controller.virtualdatabase.VirtualDatabaseWorkerThread.run(VirtualDatabaseWorkerThread.java:604)

at the controller side.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to