0
votes

How to insert JSONOBject into apache ignite using sql queries? I have defined a column with varchar and tried to insert as below INSERT INTO Car (id,name) VALUES (1,'{"device_id": 123456789012,"time": "2018-04-30T14:07:18.402Z","speed": 0}')

This shows error.. Moreover i want to pass the JsonObject rather than string.. How to achieve this???

1
Please show the error in question! - alamar

1 Answers

0
votes

Apache Ignite has no specific support for JSON in SQL, meaning that you should use VARCHAR and String values as displayed.

Why it won't work for you is not obvious without the error message.