1 Answer
0
Hi, could you please specify the source you catalogued with the crawler?
Athena uses the AWS Glue Data Catalog to store and retrieve table metadata for the Amazon S3 data in your Amazon Web Services account. The table metadata lets the Athena query engine know how to find, read, and process the data that you want to query. As described here.
If you have catalogued a JDBC database (i.e. mysql, oracle or others) those tables will not be readable by Athena.
Crawling a JDBC source, currently only support accessing the data via Glue ETL. If you need to read data in a remote DB with Athena you may want to consider Athena Federated queries, to read about this feature you can look at this blog post.
hope this helps
Relevant content
- Accepted Answerasked 4 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago
The crawler's catalog was created based on jsons in my s3, so athena is expected to have access to the db