masumsoft / express-cassandra

Cassandra ORM/ODM/OGM for NodeJS with support for Apache Cassandra, ScyllaDB, Datastax Enterprise, Elassandra & JanusGraph.
http://express-cassandra.readthedocs.io
GNU Lesser General Public License v3.0
227 stars 67 forks source link

Cassandra tuple field recreating/message issue. #210

Open rakibulalam opened 4 years ago

rakibulalam commented 4 years ago

Schema for table "gridbox_boxes" has new type for field "options", all data in the field will be lost, are you sure you want to drop the field & recreate it? (y/n):

options:{ type: 'frozen', typeDef: '<list<tuple<text, list<map<text, text>>, map<text,text> >>>' },

It's successfully created the field without any error. Problem is that each time showing the above message for recreating.

rakibulalam commented 4 years ago

looking the best solution. would you help for the circumstance, what should be needed to do? I think the current driver unable to mapping the complex tuple or not? what is the actual cause of the issues? feeling discomfort to use UDT each time for my solution instead of a tuple.