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

Suppress merge query for non-chunked query

    XMLWordPrintable

Details

    • Story
    • Status: To Do
    • Resolution: Unresolved
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:

                Jenkins

                  No builds found.