Replies: 1 comment 7 replies
-
One way to tackle this is to call |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I want to check if a user scans not too much partitions. Partitions are represented by dates. Other words, I need to scan WHERE part and check that length if the range of dates is not too big. For instanse, for
WHERE date BETWEEN '2023-01-01' AND '2023-01-02'
the answer should be 2.But the problem is that WHERE part might be complex, such as:
In this scenario the answer is 'infinity'. So I can not just find
date
and get the limits.And I don't see an obvious way to check the length of the range of dates. So I'm asking for help.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions