Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3534

Infinispan-dsl-cache translator: can't insert null into column of type boolean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 8.7.1.6_2
    • Misc. Connectors
    • None

      Inserting null into boolean column causes exception.

      Sample queries:

      insert into smalla(intKey, stringKey,booleanValue) values(128,'ss',null);
      insert into smalla(intKey, stringKey) values(128,'ss');
      

      This query works:

      insert into smalla(intKey, stringKey,booleanValue) values(128,'ss',false);
      

      Exception:

       Connector worker process failed for atomic-request=NuZ8Nt3h1bKx.52.0.44: org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for message id[239] returned server error (status=0x85): org.hibernate.search.bridge.BridgeException: Exception while calling bridge#set
      	class: org.infinispan.query.remote.indexing.ProtobufValueWrapper
      	path: 
      	at org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:298)
      	at org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:88)
      	at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:74)
      	at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:56)
      

      This bug breaks data integrity. If this exception is thrown, data will be inserted but it won't be indexed.

      The whole exception is in the attachment.

        1. server.log
          12 kB
        2. testVDB.vdb
          13 kB

            van.halbert Van Halbert (Inactive)
            felias_jira Filip Elias (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: