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

CTE table is created with wrong column name if column name > 64 symbols

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4(EOL), 10.5, 10.6, 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL), 11.2(EOL), 11.3(EOL)
    • 10.5, 10.6, 10.11
    • Optimizer - CTE
    • None

    Description

      If column name less or equal 64 symbols is everything Ok:

      with cte as (
      select 1111
      ) select * from cte;
      1111
      1111
      

      But if column name more than 64 symbols the column name changes to "Name_exp_1":

      with cte as (
      select 11111111111111111111111111111111111111111111111111111111111111111
      ) select * from cte;
      Name_exp_1
      11111111111111111111111111111111111111111111111111111111111111111
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.