Open okennedy opened 1 year ago
I think the problem is at: https://github.com/UBOdin/mimir-caveats/blob/master/src/main/scala/org/mimirdb/caveats/annotate/CaveatExistsInPlan.scala#L465
Specifically, annotate is getting a plan that references a different set of attributes... I'm reasonably certain that it should be taking ret
and not plan
, but making that change breaks unit tests, so I need to dig further.
Describe the bug Caveat failure on group-by aggregate dataset
Specifically note the difference in exprIds between the outer project and the first aggregate:
idx#261443
in the former,idx#262323
in the latter.