Hi Jeremy,

They are used in junit testcases. To run input1.q you have to execute 'ant test 
-Dtestcase=TestCliDriver -Dqfile=input1.q'. I don't think they can be run from 
command line directly since some initial tables need to be created and loaded 
before most of .q files can be run.

Prasad

________________________________
From: Jeremy Chow <[email protected]>
Reply-To: <[email protected]>
Date: Tue, 6 Jan 2009 22:53:28 -0800
To: <[email protected]>
Subject: how can i execute a query from a .q file

hey guys,
I've seen many .q files in the hive source tree, how can i use them?

Thanks,
Jeremy
--
My research interests are distributed systems, parallel computing and bytecode 
based virtual machine.

http://coderplay.javaeye.com

Reply via email to