Changes between Initial Version and Version 1 of Ticket #32801


Ignore:
Timestamp:
Jun 1, 2021, 3:33:51 AM (3 years ago)
Author:
Jameel A.
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32801 – Description

    initial v1  
    100100While implementing this workaround, I found a few issues:
    1011011. I was unable to find a good way to have the query layer automatically resolve a reference to an annotation defined in a subquery without redefining it. While aggregated queries technically seem to have support for this, it appears they "lift" the annotation into the outer query instead of referring to the annotation within the subquery. This distinction is important for `jsonb_array_elements`.
    102 2. Because of #1, I had to annotate the outer query and then find a way to trick the query later to use a field name that would resolve when executed against the DB.
     1022. Because of (1), I had to annotate the outer query and then find a way to trick the query later to use a field name that would resolve when executed against the DB.
    1031033. While the query layer seems to handle renaming aliases in subqueries for aggregate queries, I had to manually change the outer query table alias to properly refer to the subquery fields.
    104104
Back to Top