hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Dechoux <>
Subject Re: Run queries from external files as subqueries
Date Thu, 20 Jun 2013 20:09:00 GMT
I am afraid that there is no automatic way of doing so. But that would be
the same answer whether the question is about hive or any relational
(I would be glad to have counter examples.)

You might want to look at oozie in order to manage worflow. But the
creation of the worflow is manual indeed.



On Thu, Jun 20, 2013 at 9:59 PM, Sha Liu <> wrote:

> Hi,
> While working on some complex queries with multiple level of subqueries,
> I'm wonder if it is possible in Hive to refactor these subqueries into
> different files and instruct the enclosing query to execute these files.
> This way these subqueries can potentially be reused by other questions or
> just run by themselves.
> Thanks,
> Sha Liu

Bertrand Dechoux

View raw message