com.datastax.driver.core.exceptions.SyntaxError: line 1:8 no viable alternative at input 'FROM' (SELECT [FROM]...)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by taylorcressy
, 9 months ago
line 1:8 no viable alternative at input 'FROM' (SELECT [FROM]...)
via Stack Overflow by Brent Dorsey
, 9 months ago
line 1:154 no viable alternative at input 'PARTITION' (...("item_uuid") <= ? AND [PER] PARTITION...)
via Stack Overflow by Varun Gupta
, 1 year ago
line 1:159 missing EOF at 'CREATE' (...} AND DURABLE_WRITES = true;[CREATE] TABLE...)
via GitHub by james-hu
, 1 year ago
line 1:27 no viable alternative at input 'null' (CREATE TABLE IF NOT EXISTS [null]...)
via GitHub by noamha
, 1 year ago
line 1:28 no viable alternative at input 'WHERE' (UPDATE "request_trace" SET [WHERE]...)
via GitHub by narendrasfo
, 2 months ago
line 1:116 missing EOF at 'group' (...partner_name='c' and event_date='2017-05-01' [group] by...)
com.datastax.driver.core.exceptions.SyntaxError: line 1:8 no viable alternative at input 'FROM' (SELECT [FROM]...)
at com.datastax.driver.core.Responses$Error.asException(Responses.java:132)
at com.datastax.driver.core.SessionManager$4.apply(SessionManager.java:224)
at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:906)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.