Skip to content

IGNITE-24730 SQL Calcite: Fix correlated distribution restoring failure#11947

Closed
alex-plekhanov wants to merge 2 commits intoapache:masterfrom
alex-plekhanov:ignite-24730
Closed

IGNITE-24730 SQL Calcite: Fix correlated distribution restoring failure#11947
alex-plekhanov wants to merge 2 commits intoapache:masterfrom
alex-plekhanov:ignite-24730

Conversation

@alex-plekhanov
Copy link
Contributor

Thank you for submitting the pull request to the Apache Ignite.

In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:

The Contribution Checklist

  • There is a single JIRA ticket related to the pull request.
  • The web-link to the pull request is attached to the JIRA ticket.
  • The JIRA ticket has the Patch Available state.
  • The pull request body describes changes that have been made.
    The description explains WHAT and WHY was made instead of HOW.
  • The pull request title is treated as the final commit message.
    The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • A reviewer has been mentioned through the JIRA comments
    (see the Maintainers list)
  • The pull request has been checked by the Teamcity Bot and
    the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com #ignite channel.

int corrFieldsCnt = ((RexNode)corr.getNode()).getType().getFieldCount();
int inputFieldsCnt = getRowType().getFieldCount();

// Calcite during planning can add fields to the left hand of the correlated join, but without proper
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: 'add fields' mihght be changed to smth. like 'swap' or 'commute'. Actually, the test query's join has the same 4 fields of the row type. This is result of JoinCommuteRule. It seems not to produce other, wider join row types.

@sonarqubecloud
Copy link

@asfgit asfgit closed this in e76e768 Mar 20, 2025
okreda1 pushed a commit to okreda1/ignite that referenced this pull request May 19, 2025
…re - Fixes apache#11947.

Signed-off-by: Aleksey Plekhanov <plehanov.alex@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants