[ 
https://issues.apache.org/jira/browse/DRILL-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008213#comment-14008213
 ] 

George Chow commented on DRILL-836:
-----------------------------------

An alternative is to have a query against the column-family return a JSON 
describing its columns:

  SELECT * from hbase.table.columnfamily LIMIT n

N should be small. Maybe it should even be mandatory to avoid scanning the 
entire HBase table?

> Implement "DESCRIBE hbase.table.column-family LIMIT n"
> ------------------------------------------------------
>
>                 Key: DRILL-836
>                 URL: https://issues.apache.org/jira/browse/DRILL-836
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: George Chow
>
> Drill needs to help users understand the available columns in a given HBase 
> table's column-family. One way to do this is to implement the DESCRIBE 
> command for a column-family. The purpose of this is to let Drill do the 
> column sampling. The mandatory LIMIT clause specifies the sample size so as 
> to throttle the number of columns returned.



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

Reply via email to