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

LP:820163 - Q11 from DBT3 returns an empty set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Not a Bug
    • None
    • None
    • None

    Description

      Query 11 from DBT3 benchmark returns an empty set for mariadb-5.3.0:

      select ps_partkey, sum(ps_supplycost * ps_availqty) as value
      from partsupp, supplier, nation
      where ps_suppkey = s_suppkey and s_nationkey = n_nationkey
      and n_name = 'GERMANY'
      group by ps_partkey
      having sum(ps_supplycost * ps_availqty) >
      (select sum(ps_supplycost * ps_availqty) * 0.0001
      from partsupp, supplier, nation
      where ps_suppkey = s_suppkey and s_nationkey = n_nationkey
      and n_name = 'GERMANY')
      order by value desc;

      The query is supposed to return some rows.

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            igor Igor Babaev
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.