]
Steven Hawkins resolved TEIID-4668.
-----------------------------------
Resolution: Done
Updated the logic to better handle nulls for update and insert. In the update case we can
allow nulls except for string values as there seems to be no way to differentiate between
an empty string - but there is a difference between null and empty when reading from a
sheet so we'll produce an exception for now.
Google translator skips NULL value in INSERT
--------------------------------------------
Key: TEIID-4668
URL:
https://issues.jboss.org/browse/TEIID-4668
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.12.8.6_3
Reporter: Lucie Fabrikova
Assignee: Steven Hawkins
Priority: Blocker
Fix For: 9.0.6, 9.1.2, 9.2
Attachments: google-crud.png, googlespreadsheetcrud-vdb.xml
I have google spreadsheet table smalla with defined header columns intkey, intnum and
other (see attached screenshot).
Following query doesn't insert NULL value to column intnum:
INSERT INTO smalla(intnum, intkey) values (null, 562)
Instead, it inserts 562 to intnum and NULL to intkey.
(Server log shows no exception)
INSERT works correctly if none of the inserted values is NULL.