You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Konstantin Orlov (Jira)" <ji...@apache.org> on 2023/07/17 17:01:00 UTC

[jira] [Created] (IGNITE-19992) Sql. Rework execution of 2-phase set operators

Konstantin Orlov created IGNITE-19992:
-----------------------------------------

             Summary: Sql. Rework execution of 2-phase set operators
                 Key: IGNITE-19992
                 URL: https://issues.apache.org/jira/browse/IGNITE-19992
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Konstantin Orlov


As of now, both {{IntersectNode}} and {{MinusNode}} use complex structures as result of MAP phase (see {{org.apache.ignite.internal.sql.engine.exec.rel.AbstractSetOpNode.Grouping#getOnMapper}}; it emits rows cardinality of 2, where first column is entire group key, and second column is an array of counters). This prevents us from migrating sql runtime to BinaryTuple-based rows, because currently BinaryTuple does not support nested structures.

Let's rework those node to inline group key and counters into plain row.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)