[
https://issues.apache.org/jira/browse/HIVE-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859956#action_12859956
]
Ashish Thusoo commented on HIVE-987:
------------------------------------
I am +1 on this. I think this can open up good possibilities. I have not looked
at sqlline code but how much does it depend on actually SQL dialect. Plus, how
easy is it to extend to hdfs related command e.g. the CLI today has commands
that can do set of conf variables. It also supports the hadoop dfs commands as
well which talk directly to hdfs. I am not sure if too many people use them,
but I do. Would be great to get them integrated with sqlline if that is
possible.
> Hive CLI Omnibus Improvement ticket
> -----------------------------------
>
> Key: HIVE-987
> URL: https://issues.apache.org/jira/browse/HIVE-987
> Project: Hadoop Hive
> Issue Type: Improvement
> Reporter: Carl Steinbach
> Attachments: HIVE-987.1.patch, sqlline-1.0.8_eb.jar
>
>
> Add the following features to the Hive CLI:
> * Command History
> * ReadLine support
> ** HIVE-120: Add readline support/support for alt-based commands in the CLI
> ** Java-ReadLine is LGPL, but it depends on GPL readline library. We probably
> need to use JLine instead.
> * Tab completion
> ** HIVE-97: tab completion for hive cli
> * Embedded/Standalone CLI modes, and ability to connect to different Hive
> Server instances.
> ** HIVE-818: Create a Hive CLI that connects to hive ThriftServer
> * .hiverc configuration file
> ** HIVE-920: .hiverc doesnt work
> * Improved support for comments.
> ** HIVE-430: Ability to comment desired for hive query files
> * Different output formats
> ** HIVE-49: display column header on CLI
> ** XML output format
> For additional inspiration we may want to look at the Postgres psql shell:
> http://www.postgresql.org/docs/8.1/static/app-psql.html
> Finally, it would be really cool if we implemented this in a generic fashion
> and spun it off as an apache-commons
> shell framework. It seems like most of the Apache Hadoop projects have their
> own shells, and I'm sure the same is true
> for non-Hadoop Apache projects as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.