[
https://issues.apache.org/jira/browse/HIVE-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Capriolo resolved HIVE-1014.
-----------------------------------
Resolution: Duplicate
Release Note: source was added in HIVE-1451
> Ability to execute external scripts from within HiveCLI
> -------------------------------------------------------
>
> Key: HIVE-1014
> URL: https://issues.apache.org/jira/browse/HIVE-1014
> Project: Hive
> Issue Type: New Feature
> Components: Clients
> Reporter: Carl Steinbach
>
> I would like to be able to execute external query scripts from within the
> HiveCLI.
> For example:
> {noformat}
> hive> source awesome_script.q
> ...
> hive> source /Users/larry/larrys_awesome_script.q
> ...
> hive> source hdfs://localhost/user/bob/lame_script.q
> ...
> {noformat}
> In other words, the 'source' command will read input from the specified
> file and execute it as though it had been typed on the keyboard.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.