drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsuanyi <...@git.apache.org>
Subject [GitHub] drill pull request: Drill 4372 review
Date Thu, 17 Mar 2016 05:44:51 GMT
Github user hsuanyi commented on a diff in the pull request:

    https://github.com/apache/drill/pull/397#discussion_r56458266
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillSqlOperator.java
---
    @@ -140,6 +140,10 @@ public DrillSqlOperatorBuilder setDeterministic(boolean isDeterministic)
{
         }
     
         public DrillSqlOperator build() {
    +      if(name == null || functions.isEmpty()) {
    +        throw new AssertionError("The fields, name and functions, need to be set before
build DrillSqlAggOperator");
    --- End diff --
    
    build gets called before fields are properly set.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message