GithubHelp home page GithubHelp logo

No columns about metabase-athena-driver HOT 3 CLOSED

dacort avatar dacort commented on May 18, 2024
No columns

from metabase-athena-driver.

Comments (3)

dacort avatar dacort commented on May 18, 2024

Hi @yyie - do you see any errors or warnings in the Metabase server logs? You can find these in the Admin --> Troubleshooting section of Metabase. Please also let me know which version of Metabase and the Athena driver you're using.

from metabase-athena-driver.

yyie avatar yyie commented on May 18, 2024

Hi, thanks for your answer.

I'm using:

  • Metabase: 0.36.4
  • Athena driver: 1.1.0

I found that the problem was the missing permissions for Athena. Additionally, the IAM policy reports some warnings because there are several athena permissions that doesn't exist. With those changes Metabase is working ok.

This is the AIM policy that i'm using ....

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"athena:GetTableMetadata",
"athena:StartQueryExecution",
"athena:ListDataCatalogs",
"glue:GetTableVersions",
"glue:GetPartitions",
"athena:GetQueryResults",
"athena:GetDatabase",
"athena:GetDataCatalog",
"athena:ListWorkGroups",
"athena:GetNamedQuery",
"athena:ListQueryExecutions",
"athena:GetWorkGroup",
"glue:GetTableVersion",
"athena:StopQueryExecution",
"athena:GetQueryResultsStream",
"glue:GetTables",
"glue:BatchGetPartition",
"glue:GetDatabases",
"athena:ListTagsForResource",
"glue:GetTable",
"athena:ListNamedQueries",
"glue:GetDatabase",
"glue:GetPartition",
"athena:ListDatabases",
"athena:GetQueryExecution",
"athena:BatchGetNamedQuery",
"athena:ListTableMetadata",
"athena:BatchGetQueryExecution"
],
"Resource": ""
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::xxxxxxxxxxxxx",
"arn:aws:s3:::xxxxxxxxxxxxx/
"
]
},
{
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:AbortMultipartUpload",
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": [
"arn:aws:s3:::xxxxxxxxxxxxx",
"arn:aws:s3:::xxxxxxxxxxxxx/*"
]
}
]
}

from metabase-athena-driver.

dacort avatar dacort commented on May 18, 2024

Thanks, @yyie! That makes sense - I think the main one is athena:ListDataCatalogs but there may be others.

This is related to #56 where the upgraded JDBC driver requires additional permissions and I need to update the readme.

from metabase-athena-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.