Wilhelm,

When you're working with SQL in Ignite, you should think about data types in
the same way as about tables in relational databases. SQL works with a
particular schema, and therefore if there is a 'Vehicle' table, it can only
store attributes that are generic for all vehicles. There is no way you can
fit something else there. Also, since 'Car' and 'Truck' (for example)
presumably have different set of attributes (i.e. different schemas), they
have to be stored in separate tables.

Having said that, you should rethink your data model so that it properly
supports your use case. I would start with defining what SQL queries you're
going to execute. Most likely this will point you into right direction.

Hope this helps.

-Val



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to