You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sean Hsuan-Yi Chu (JIRA)" <ji...@apache.org> on 2016/02/08 22:34:39 UTC

[jira] [Created] (DRILL-4372) Let Operators and Functions expose the types

Sean Hsuan-Yi Chu created DRILL-4372:
----------------------------------------

             Summary: Let Operators and Functions expose the types 
                 Key: DRILL-4372
                 URL: https://issues.apache.org/jira/browse/DRILL-4372
             Project: Apache Drill
          Issue Type: Improvement
          Components: Query Planning & Optimization
            Reporter: Sean Hsuan-Yi Chu
            Assignee: Sean Hsuan-Yi Chu


Currently, for most operators / functions, Drill would always claim the return types being nullable-any. 

However, in many cases (such as Hive, View, etc.), the types of input columns are known. So, along with resolving to the correct operators / functions, we can infer the output types at planning. 

Having this mechanism can help speed up many applications, especially where schemas alone are sufficient (e.g., Limit-0).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)