drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Phillips (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-873) Add an option to fail queries if a requested column is not found after some threshold
Date Fri, 30 May 2014 19:11:03 GMT
Steven Phillips created DRILL-873:
-------------------------------------

             Summary: Add an option to fail queries if a requested column is not found after
some threshold
                 Key: DRILL-873
                 URL: https://issues.apache.org/jira/browse/DRILL-873
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Steven Phillips


An example where this apply is with json, or hbase when selecting a specific column qualifier.
For these table formats, there is no way to know whether a particular column exists unless
we scan the entire table. So a requested column that does not exist is simply treated as a
column of nulls.

We should allow an option to fail a query if a requested column is not found after reading
a configurable number of rows. This option will help avoid the case where a mistyped column
name results in a full table scan with unexpected results.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message