Developing a data source connector using the Athena Query Federation SDK - Amazon Athena

Developing a data source connector using the Athena Query Federation SDK

To write your own data source connectors, you can use the Athena Query Federation SDK. The Athena Query Federation SDK defines a set of interfaces and wire protocols that you can use to enable Athena to delegate portions of its query execution plan to code that you write and deploy. The SDK includes a connector suite and an example connector.

You can also customize Amazon Athena's prebuilt connectors for your own use. You can modify a copy of the source code from GitHub and then use the Connector publish tool to create your own AWS Serverless Application Repository package. After you deploy your connector in this way, you can use it in your Athena queries.

For information about how to download the SDK and detailed instructions for writing your own connector, see Example Athena connector on GitHub.