athena query error

0

Hi Team,

When iam run querry facing error, Kindly support anyone please

SELECT * not allowed from relation that has no columns This query ran against the "penguin-landing-data" database, unless qualified by the query

feita há 8 meses314 visualizações
1 Resposta
3
Resposta aceita

Hi Karthik,

Is this for Lakeformation, if so then make sure your user has at least the Describe and Select permissions on that database and the table. I understand error message is not self explanatory but try adding these permissions to your role/user for respective database and table and see how it goes.

Also, did you try selecting any specific column, you can try that too and see how it responds. If it gives the error then I'd first add these permissions to my user/role and then will see the behavior. Refer Managing Lake Formation and Athena user permissions for more details.

Hope it helps.

Comment here if you have additional questions, happy to help.

Abhishek

profile pictureAWS
ESPECIALISTA
respondido há 8 meses
profile pictureAWS
ESPECIALISTA
iBehr
avaliado há 8 meses
profile picture
ESPECIALISTA
avaliado há 8 meses
  • Hi Abhishek,

    Thank you so much, now its working.

    and one more help, when i connect athena+jdbc in superset facing error

    ERROR: (builtins.NoneType) None [SQL: java.sql.SQLException: [Simba]AthenaJDBC An error has been thrown from the AWS SDK client. Unable to execute HTTP request: athena.xxxxx.amazonaws.com [Execution ID not available]]

  • Take a look at following and make sure you have followed the way it's described:

    Connecting to Amazon Athena with JDBC re:Post Knowledge Center Article re:Post Thread

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas