endgameinc / eqllib

MIT License
158 stars 46 forks source link

Only optimize expressions while walking #33

Closed rw-access closed 4 years ago

rw-access commented 4 years ago

Issues

Closes https://github.com/endgameinc/eqllib/issues/32

Details

Instead of trying to optimize every node, now I only try to optimize expressions. This avoids an EQL error in UniqueCountPipe.output_schemas https://github.com/endgameinc/eql/blob/eb712cc55cd285482abeadb5a2051c545f87d1f8/eql/pipes.py#L124-L140