Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/685#discussion_r96463387
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillSqlOperator.java
 ---
    @@ -147,6 +166,14 @@ public DrillSqlOperatorBuilder 
setDeterministic(boolean isDeterministic) {
           return this;
         }
     
    +    public DrillSqlOperatorBuilder setNiladic(boolean isNiladic) {
    +      /*
    +       * Set Operand type-checking strategy for an operator which takes no 
operands
    +       */
    --- End diff --
    
    Also let's add note here that making function niladic won't allow to select 
column with function name without table alias. Please also add example:
    When querying table t with column session_id:
    select session_id from table -> will return generated session_id 
    select t1.session_id from table t1 -> will return session_id column value


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to