Skip to content

IGNITE-25712 SQL: Fix key fields wrapping in index for tables created with DDL on existing cache#12452

Open
alex-plekhanov wants to merge 4 commits intoapache:masterfrom
alex-plekhanov:ignite-25712
Open

IGNITE-25712 SQL: Fix key fields wrapping in index for tables created with DDL on existing cache#12452
alex-plekhanov wants to merge 4 commits intoapache:masterfrom
alex-plekhanov:ignite-25712

Conversation

@alex-plekhanov
Copy link
Copy Markdown
Contributor

…ith DDL on existing cache

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.

@sonarqubecloud
Copy link
Copy Markdown

@alex-plekhanov alex-plekhanov changed the title IGNITE-25712 SQL: Don't wrap key fields in index for tables created w… IGNITE-25712 SQL: Fix key fields wrapping in index for tables created with DDL on existing cache Apr 23, 2026
this.cacheInfo = cacheInfo;
this.typeDesc = typeDesc;
this.isSql = isSql;
this.isSql = isSql || typeDesc.sql();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

probably it will be better to move sql flag into QueryTypeCandidate and reduce such spaghetti code ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Do you mean QueryTypeCandidate instead of QueryEntityEx? QueryTypeCandidate - it's an runtime entity, it's not stored to PDS and don't used in DynamicCacheDescriptor to pass to other nodes.

@sonarqubecloud
Copy link
Copy Markdown

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