Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38757

Exchange partition fails with compound expressions

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.11.15
    • None
    • Server
    • Q1/2026 Server Development

    Description

      MDEV-34033 addressed the issue where the computed/stored column referenced other columns in the same table.

      There is another issue that arises when the expression uses AND/OR. It seems that the expression is parsed/normalized in such a way that the non-semantic ordering of the conditionals is not consistent. However, the comparison function is order sensitive which causes the EXCHANGE PARTITION operation to fail with the 1736 Tables have different definitions.

      I don't know if it would be better to have the parsed tree keep order, or to have the comparison be order agnostic.

      Attachments

        Issue Links

          Activity

            People

              gkodinov Georgi Kodinov
              jacob.williams Jacob Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.