Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add comment on classname overriding
Note: we do need to specify the classname, which should be "builtins.tuple": The serialize method (in airflow/serialization/serializers/builtin.py) does qualname() on the namedtuple, which returns "airflow.providers.databricks.hooks.Row" (the namedtuple dynamically created in the hook). If this is used as classname, it will fail to deserialize: there won't be any deserializer for it. If we hardcode it to "builtins.tuple", it gets deserialized correctly.
- Loading branch information