Skip to content

Permission denied to SELECT from table despite giving AWS account permissions

0

When trying to run queries in Athena for a table, I'm getting this error: COLUMN_NOT_FOUND: Column didn't include column name cannot be resolved or requester is not authorized to access requested resources I went into Lake Formation for the account the table is on and granted select permissions to the ARN that I am running Athena from, but I am still getting that error. Do I need to grant permission elsewhere?

1 Answer
0

Verify it's actually a permissions issue. Run: DESCRIBE database.table; If these fail with the same error, it's almost certainly permissions rather than a SQL issue.

Lake Formation permissions Make sure the principal you're granting to has:

  • DESCRIBE on the database
  • DESCRIBE on the table (or inherited)
  • SELECT on the table

If using column-level permissions, ensure the specific columns are included. A common mistake is granting only SELECT without DESCRIBE.

EXPERT

answered 2 months ago

EXPERT

reviewed 2 months ago

  • The DESCRIBE command worked, but the SELECT command is still returning the same issue. The principal has Select and Describe permissions for Table and Column level

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.