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

DBT3 query 19 returned an internal error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2
    • ExeMgr
    • None

    Description

      Build tested: alpha 1.0.1

      mscadmin> getsoft
      getsoftwareinfo Fri Jul 1 18:33:11 2016

      Name : mariadb-columnstore-platform
      Version : 1.0
      Release : 1
      Architecture: x86_64
      Install Date: Fri 24 Jun 2016 07:28:00 PM UTC

      Create a DBT3 (TPCH) database and load 1gb of data

      execute the query #19

      select
      sum(l_extendedprice* (1 - l_discount)) as revenue
      from
      lineitem,
      part
      where
      (
      p_partkey = l_partkey
      and p_brand = 'Brand#35'
      and p_container in ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG')
      and l_quantity >= 8 and l_quantity <= 8+10
      and p_size between 1 and 5
      and l_shipmode in ('AIR', 'AIR REG')
      and l_shipinstruct = 'DELIVER IN PERSON'
      )
      or
      (
      p_partkey = l_partkey
      and p_brand = 'Brand#34'
      and p_container in ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK')
      and l_quantity >= 16 and l_quantity <= 16+10
      and p_size between 1 and 10
      and l_shipmode in ('AIR', 'AIR REG')
      and l_shipinstruct = 'DELIVER IN PERSON'
      )
      or
      (
      p_partkey = l_partkey
      and p_brand = 'Brand#33'
      and p_container in ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG')
      and l_quantity >= 22 and l_quantity <= 22+10
      and p_size between 1 and 15
      and l_shipmode in ('AIR', 'AIR REG')
      and l_shipinstruct = 'DELIVER IN PERSON'
      );

      ERROR 1815 (HY000) at line 6: Internal error: IDB-1000: 'lineitem' and 'part' are not joined.

      InnoDB returned:

      --------------

      revenue

      --------------

      4024954.8299

      --------------
      1 row in set (7.02 sec)

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              dleeyh Daniel Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.