Types come from the catalog
Column names and types are read from AWS Glue and emitted verbatim, so a row object matches the table it came from - no hand-written interfaces to drift.
Generate typed query functions from your AWS Glue catalog, then call them like ordinary functions.