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

Lefty Leverenz commented on HIVE-9664:
--------------------------------------

Here's where you can find information about Hive's compile syntax and Groovy:

* [Hive Commands | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Commands]:
{{compile `<groovy string>` AS GROOVY NAMED <name>}}
* [Nov. 2013 Hive Contributors Meetup Presentations -- Using Dynamic 
Compilation with Hive | 
https://cwiki.apache.org/confluence/download/attachments/27362054/HiveContrib-Nov13-groovy_plus_hive.pptx?version=1&modificationDate=1385171856000&api=v2]

Note:  The last slide in the presentation has a typo.  Instead of HIVE-520 see 
HIVE-5250 and its subtask HIVE-5252 (Add ql syntax for inline java code 
creation).

> Hive "add jar" command should be able to download and add jars from a 
> repository
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-9664
>                 URL: https://issues.apache.org/jira/browse/HIVE-9664
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Anant Nag
>              Labels: hive
>
> Currently Hive's "add jar" command takes a local path to the dependency jar. 
> This clutters the local file-system as users may forget to remove this jar 
> later
> It would be nice if Hive supported a Gradle like notation to download the jar 
> from a repository.
> Example:  add jar org:module:version
>         
> It should also be backward compatible and should take jar from the local 
> file-system as well. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to