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

Exchange partition fails with compound expressions

    XMLWordPrintable

Details

    • Unexpected results
    • Q1/2026 Server Development, Q4/2026 Server Maintenance

    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

              midenok Aleksey Midenkov
              jacob.williams Jacob Williams
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.5d
                  0.5d

                  Git Integration

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