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.
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.
@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.
@smadhavan : Thanks for your response. I troubleshoot the issue after adding UTF-8 encoding in my system environment variable file. I am able to see all the tables of Cassandra DB in my SAS tool. One more time, thanks a lot for attending my query.
[Post converted to comment since it's not an "answer"]
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use