How Athena Connectors work
Unsurprisingly, Athena Connectors follow a similar structure to both Presto and Trinio Connectors, with one notable difference. Athena's Federation SDK is designed to decouple your Connector from Athena's core engine, whereas both Presto and Trinio require Connectors to run within the engine. If you keep this key difference in mind, much of what we are about to describe applies to Athena, Presto, and Trinio. At the heart of each Connector is the Athena Federation SDK, which provides an abstraction over the boilerplate code required to enable Athena to orchestrate your federated query. Every Athena Connector is required to implement the following six functions defined in the SDK (https://bit.ly/3vXmm9j):
-
doListSchemaNames(…)
: This function provides Athena with a list of schemas, also known as databases, that the Connector believes are available in the federated source. -
doListTables(…)
: This function provides Athena with...