Currently the Python SDK requires the implementor to have deep knowledge of the request/response data types in the Athena Federation SDK. While similar to how the Java SDK is implemented, it doesn't seem very Pythonic.
I've got a few thoughts about a different way to implement this that I'll document here. These are some initial raw notes that I'll expand on in the coming days.
If our example is fairly static, we can initialize everything up front
Currently the Python SDK requires the implementor to have deep knowledge of the request/response data types in the Athena Federation SDK. While similar to how the Java SDK is implemented, it doesn't seem very Pythonic.
I've got a few thoughts about a different way to implement this that I'll document here. These are some initial raw notes that I'll expand on in the coming days.
If our example is fairly static, we can initialize everything up front
So this takes care of:
Other data sources may be more dynamic. e.g. if this is pulling from another DB, we'll have to call getTables() on that DB.
So maybe, we can also make the interface less ... explicit.
I need to validate that Athena will only request
The challenge is the schemas have to be (do they?) pyarrow schemas. Another small concern is just Athena lingo: