| From: | Peter Moser <pitiz29a(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Cc: | Anton Dignös <dignoes(at)inf(dot)unibz(dot)it>, Johann Gamper <gamper(at)inf(dot)unibz(dot)it>, Michael Böhlen <boehlen(at)ifi(dot)uzh(dot)ch>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com> |
| Subject: | Re: [HACKERS] [PROPOSAL] Temporal query processing with range types |
| Date: | 2019-02-28 21:43:41 |
| Message-ID: | c70991ee-7086-0ab4-8b53-8918dfcfb655@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Dear all,
we rebased our temporal normalization patch on top of 554ebf687852d045f0418d3242b978b49f160f44 from 2019-02-28.
On 9/7/18 1:02 PM, Peter Moser wrote:
> The syntax is
> SELECT * FROM (r NORMALIZE s USING() WITH(period_r, period_s)) c;
Please find all information about our decisions and current state within the previous email.
> What we like to discuss now is:
> - Is sort_inner_and_outer the correct place to perform this split?
> - How could we support OID_RANGE_ELEM_CONTAINED_OP for a NORMALIZE
> mergejoin executor? If we use RANGE_ELEM_CONTAINED as operator, it is
> not an equality operator, but if we use RANGE_EQ it assumes that the
> right-hand-side of the operator must be a range as well.
> - Should we better change our mergeclause to a RANGE_ELEM_CONTAINED
> comparison, or keep RANGE_EQ and fix pathkeys later?
> - How do we update equivalence classes, and pathkeys
> when changing the inner relation's data type from "int4range" to "int"
> in the query tree inside "sort_inner_and_outer" to get the correct
> ordering and data types
I will also add this prototype (WIP) patch to the commitfest of March, as suggested by two developers met at the
FOSDEM some weeks ago.
Best regards,
Anton, Johann, Michael, Peter
| Attachment | Content-Type | Size |
|---|---|---|
| tpg_normalize_v3.patch | text/x-patch | 47.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Janes | 2019-02-28 21:45:15 | Re: Index Skip Scan |
| Previous Message | Shawn Debnath | 2019-02-28 21:41:45 | Re: Drop type "smgr"? |