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

Zoltan Haindrich commented on HIVE-18373:
-----------------------------------------

[~minions]: looks good, could you make the test more interesting? :) ...looking 
for column "a*" in {{CREATE TABLE foo(a INT)}} is not really pushing the limits 
of filtering :)
... and could you also add {{show columns "\*nonexistent\*" ...}} and what 
happens if the regex is invalid (for example '+' ) ?


> Make it easier to search for column name in a table
> ---------------------------------------------------
>
>                 Key: HIVE-18373
>                 URL: https://issues.apache.org/jira/browse/HIVE-18373
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Siddhant Saraf
>            Assignee: Madhudeep Petwal
>            Priority: Minor
>         Attachments: HIVE-18373.1.patch
>
>
> Within a database, to filter for tables with the string 'abc' in its name, I 
> can use something like:
> {code:java}
> hive> use my_database;
> hive> show tables '*abc*';
> {code}
> It would be great if I can do something similar to search within the list of 
> columns in a table.
> I have a table with around 3200 columns. Searching for the column of interest 
> is an onerous task after doing a {{describe}} on it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to