Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2889

Subquery columns not exported in OLAPContext allColumns

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      A query like this returns empty value because OLAP context allColumns field isn't set rightly.

      ```sql
      select c.COUNTRY, c.NAME,b.TRANS_ID, b.BUYER_ID from KYLIN_COUNTRY c join (
      select * from KYLIN_SALES s join KYLIN_ACCOUNT a on s.SELLER_ID = a.ACCOUNT_ID where a.ACCOUNT_ID <= 10000866
      ) b on b.ACCOUNT_COUNTRY = c.COUNTRY
      ```

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              R0ger Roger Shi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: