[ 
https://issues.apache.org/jira/browse/HIVE-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913729#action_12913729
 ] 

John Sichi commented on HIVE-1497:
----------------------------------

For the implementation, it should be possible to follow the pattern for the 
existing SHOW PARTITIONS command.

* showStatement in Hive.g
* DDLSemanticAnalyzer.analyzeShowPartitions
* ShowPartitionsDesc
* DDLTask.showPartitions; for returning multiple fields per output row, use 
out.write(separator)
* Hive.java does not currently have a getIndexes method, so you'll need to add 
that.  But IMetaStoreClient does have a listIndexes method already, so you can 
call that.


> support COMMENT clause on CREATE INDEX, and add new commands for 
> SHOW/DESCRIBE indexes
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-1497
>                 URL: https://issues.apache.org/jira/browse/HIVE-1497
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Indexing
>    Affects Versions: 0.7.0
>            Reporter: John Sichi
>            Assignee: Russell Melick
>             Fix For: 0.7.0
>
>
> We need to work out the syntax for SHOW/DESCRIBE, taking partitioning into 
> account.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to