Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-3166

Suppress merge query for non-chunked query

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      See testQueryAnaOrderBy.cc:

      BOOST_AUTO_TEST_CASE(OrderByAggregateNotChunked) {
          std::string stmt = "SELECT SUM(photClam) FROM Filter ORDER BY filterId";
          std::string expectedParallel = "SELECT SUM(photClam) AS QS1_SUM FROM LSST.Filter AS QST_1_";
          // FIXME merge query is not useful here
          std::string expectedMerge = "SELECT SUM(QS1_SUM)";
          auto querySession = check(qsTest, stmt, expectedParallel, "", expectedMerge);
      }
      

      Here, the non-chunked query should be issued on only one node, so the merge query is not useful. This need to be confirmed and suppressed.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jammes Fabrice Jammes
              Watchers:
              Andy Salnikov, Fabrice Jammes, Jacek Becla
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.