cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joseph gao <>
Subject PrepareStatement problem
Date Mon, 15 Jun 2015 07:52:14 GMT
hi, all
      I'm using PrepareStatement. If I prepare a sql everytime I use,
cassandra will give me a warning tell me NOT PREPARE EVERYTIME. So I Cache
the PrepareStatement locally . But when other client change the table's
schema, like, add a new Column, If I still use the former Cached
PrepareStatement, the metadata will dismatch the data. The metadata tells n
column, and the data tells n+1 column. So what should I do to avoid this

Joseph Gao
QQ: 409343351

View raw message