hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <>
Subject [jira] Commented: (HIVE-1096) Hive Variables
Date Mon, 01 Feb 2010 15:16:04 GMT


Edward Capriolo commented on HIVE-1096:


I want to laugh now, but I spent about 4-5 hours trying to figure out what problem Hive was
having. In general trying to debug the test cases through the testCliDriver can sometimes
be difficult.  Sometimes you get a decent stack trace, sometimes you get error code 11 or
error code 2. I agree it ought to be fixed.

Ok well now that I know the comment issue is not actually my problem I will remove the print
statements and submit something that could go +1

> Hive Variables
> --------------
>                 Key: HIVE-1096
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Edward Capriolo
>            Assignee: Edward Capriolo
>         Attachments: hive-1096-2.diff, hive-1096.diff
> From mailing list:
> --Amazon Elastic MapReduce version of Hive seems to have a nice feature called "Variables."
Basically you can define a variable via command-line while invoking hive with -d DT=2009-12-09
and then refer to the variable via ${DT} within the hive queries. This could be extremely
useful. I can't seem to find this feature even on trunk. Is this feature currently anywhere
in the roadmap?--
> This could be implemented in many places.
> A simple place to put this is 
> in Driver.compile or we can do string substitutions at that level, and further
downstream need not be effected. 
> There could be some benefits to doing this further downstream, parser,plan. but based
on the simple needs we may not need to overthink this.
> I will get started on implementing in compile unless someone wants to discuss this more.

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

View raw message