Amazon Athena: no viable alternative at input

Deepak Singhal picture Deepak Singhal · Dec 1, 2016 · Viewed 56.1k times · Source

While creating a table in Athena; it gives me following exception:

no viable alternative at input

Answer

Deepak Singhal picture Deepak Singhal · Dec 1, 2016

hyphens are not allowed in table name.. ( though wizard allows it ) .. Just remove hyphen and it works like a charm