LLNL / hatchet

Graph-indexed Pandas DataFrames for analyzing hierarchical performance data
https://llnl-hatchet.readthedocs.io
MIT License
27 stars 18 forks source link

Combining predicates in string dialect can cause errors if IS LEAF is first predicate #149

Open ilumsden opened 1 month ago

ilumsden commented 1 month ago

When creating a string dialect predicate consisting of IS LEAF followed by other predicates (e.g., p."name" = "..."), applying the query will fail because the type check will have a leading Python binary operation (e.g., and, or).