Amazon Athena: no viable alternative at input

后端 未结 12 1591
-上瘾入骨i
-上瘾入骨i 2020-12-14 05:15

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

no viable alternative at input

12条回答
  •  悲&欢浪女
    2020-12-14 06:06

    My case: it was an external table and the location had a typo (hence didn't exist)

    Couple of tips:

    • Click the "Format query" button so you can spot errors easily
    • Use the example at the bottom of the documentation - it works - and modify it with your parameters: https://docs.aws.amazon.com/athena/latest/ug/create-table.html

提交回复
热议问题