SyntaxError: no viable alternative at input ‘"{genPath}/{dataTag[0][‘name’]}"’ (, line 98) Code: New [RESOLVED] CASSANDRA : line 0:-1 no viable alternative at input '' Sameera Nelson January 24, 2018 Cassandra, Database, Database Exception Cassandra Query IssueWhen querying for data in Cassandra, The following error was thrown in DataStax Studio,SELECT * FROM XXXXX WHERE name = "xxxxx" line 0:-1 no viable alternative at input '<EOF>' Cause of the IssueIt seems the issue is using "" for the String fields.FixInstead of double quotes (""), using single quotes ('') will resolve the issue.SELECT * FROM XXXXX WHERE name = 'xxxxx' Image : https://pixabay.com/en/wires-cables-inputs-outputs-audio-354065/ Read more Subscribe via email
Share This: Facebook Twitter Google+ Pinterest Linkedin Database Exception By Sameera Nelson atJanuary 24, 2018 Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: Cassandra, Database, Database Exception |