Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4892

"unknown column" in nested subselects with alias columns

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 5.6.2
    • 6.4.1
    • ?
    • None

    Description

      To reproduce

      create table t1 (c1 int, c2 int) engine=columnstore;
      select calias,c2 from (select c1  ,c2 from (select c1,c2 Calias from t1)A2) A1;
       
      ERROR 1054 (42S22): Unknown column 'c2' in 'field list
      

      Client would like this query to complete

      Attachments

        Issue Links

          Activity

            People

              denis0x0D Denis Khalikov
              Richard Richard Stracke
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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