Hi Team, I am getting "error while preparing a query in cassandra 33562624 no viable alternative at character" while updating tables metadata in SAS application. Any suggestion.
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
@Vikaskarn, there is not enough information on this question to be able to help triage this. Please go ahead and update your original question with the version of Cassandra that you're running, the version of java driver that you're using, complete exception stack trace from both the client application as well as from the Cassandra node's system.log file(s), any sample snippet of code to reproduce the same will also be helpful with this triage.
I am going to take a guess here. It looks like an extended or special character has been inadvertently included in the CQL statement. If you've copied and pasted the schema definition on a Windows machine from a file such as a Word document, make sure you clean it up first. For example, you can paste the schema into Notepad and save it as a text file then use that file as your source.
6 People are following this question.