Can I use an EquivalenceGroup to tell datafusion that a date partition column is derived from a datetime column?
#10399
Unanswered
samuelcolvin
asked this question in
Q&A
Replies: 2 comments
|
I tried this and it seems |
0 replies
|
Just to confirm, does |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a table that looks something like:
Data for the table comes from hive partitioned files, something like:
Now the point is that
daywas calculated as the date part ofcreated_at. So If a user runsThen datafusion should only need to read
/date=2024-05-06/3.parquet.My question is, can I use an
EquivalenceGroupdefined by something like? Is there a better / more canonical way to do this?
(Given I've got this far, perhaps I should just try it and see, but I've written the question now, so may as well post it.)
All reactions