Can I use an EquivalenceGroup to tell datafusion that a date partition column is derived from a datetime column?
#10399
Replies: 2 comments
-
|
I tried this and it seems |
Beta Was this translation helpful? Give feedback.
-
|
Just to confirm, does |
Beta Was this translation helpful? Give feedback.
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.)
Beta Was this translation helpful? Give feedback.
All reactions