bmeg / iceberg-schema-tools

Create and maintain central iceberg schema.
2 stars 0 forks source link

Simplify Task without any output #33

Open bwalsh opened 10 months ago

bwalsh commented 10 months ago

https://github.com/bmeg/iceberg-schema-tools/blob/main/iceberg_tools/data/simplifier/__init__.py#L288 If Task.output is null this fails.
Should be:

    if task.output: 
        for _ in self.output: 
            _.dict()