1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
The error you are encountering, "COLUMN_NOT_FOUND: Column 'anonymousid' cannot be resolved or requester is not authorized to access requested resources
" suggests that there might be an issue with 1/ how the column name is being referenced in your query or 2/ with the permissions granted to your user for accessing that column in Amazon Athena.
Here are a some ways to troubleshoot:
- Check Column Name Casing: Athena is case-sensitive when it comes to column names. You mentioned that the column is named
anonymousId
but the error message showsanonymousid
(without the capital 'I'). Make sure you are using the exact same casing when referencing the column in your query. - Permissions: Verify that your user has the necessary permissions to access the
anonymousId
column in Athena. Permissions can be controlled using AWS Identity and Access Management (IAM) roles and policies. Ensure that your IAM role or user has the appropriate permissions to read the data in that column. - Data Type Compatibility: Ensure that the data type of the 'anonymousId' column in your query matches the actual data type of the column in your table. Data type mismatches can also result in errors.
con risposta un anno fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 9 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 10 mesi fa