drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilooner <...@git.apache.org>
Subject [GitHub] drill pull request #923: DRILL-5723: Added System Internal Options That can ...
Date Mon, 11 Sep 2017 17:15:05 GMT
Github user ilooner commented on a diff in the pull request:

    https://github.com/apache/drill/pull/923#discussion_r138133824
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/limit/TestLimitWithExchanges.java
---
    @@ -71,7 +72,8 @@ public void testPushLimitPastUnionExchange() throws Exception {
           final String[] expectedPlan5 = {"(?s)Limit\\(fetch=\\[1\\].*UnionExchange.*Limit\\(fetch=\\[1\\]\\).*Join"};
           testLimitHelper(sql5, expectedPlan5, excludedPlan, 1);
         } finally {
    -      test("alter session set `planner.slice_target` = " + ExecConstants.SLICE_TARGET_OPTION.getDefault().getValue());
    +      final OperatorFixture.TestOptionSet testOptionSet = new OperatorFixture.TestOptionSet();
    +      test("alter session set `planner.slice_target` = " + testOptionSet.getDefault(ExecConstants.SLICE_TARGET).getValue());
    --- End diff --
    
    done


---

Mime
View raw message