Closed adriangb closed 1 week ago
Hi @adriangb,
Thanks for the issue.
Could you highlight a little more clearly where the behavior in your script deviates from expectations and how you'd expect it to behave?
I would expect that for the timestamp case the result is empty and the file is never accessed, just like the integer case.
Sorry for the delay.
Have a PR fix up. Hopefully will get this in next release.
Some predicates are not pushed down to pyarrow datasets correctly. I'm guessing it's just not implemented but I couldn't find any issue tracking what is and what isn't implemented.
This example is a bit contrived but the point is that in both the integer and timestamp case datafusion should push down the filter and thus match no fragments, read no files and return an empty result set. The missing file trick is just a way to verify that no files are being read.