hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Thusoo (JIRA)" <>
Subject [jira] Commented: (HIVE-1374) Query compile-only option
Date Fri, 28 May 2010 13:42:42 GMT


Ashish Thusoo commented on HIVE-1374:

Is doing explain on the query enough? If the proposal to convert queries into explains when
run with -c option?

Also consider the following example in a query.hql script..

create table foo(bar string);

insert overwrite table foo select c1 from old_foo;

What would happen to the create statement in this compile only option?

Maybe it is better to provide a switch to do parse only checks?

> Query compile-only option
> -------------------------
>                 Key: HIVE-1374
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: New Feature
>    Affects Versions: 0.6.0
>            Reporter: Paul Yang
>            Assignee: Paul Yang
> A compile-only option might be useful for helping users quickly prototype queries, fix
errors, and do test runs. The proposed change would be adding a -c switch that behaves like
-e but only compiles the specified query.

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

View raw message