Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> hive.query.string not reflecting the current query

Copy link to this message
RE: hive.query.string not reflecting the current query

Sorry for the late reply.
Maybe the property 'hive.io.filter.expr.serialized' is something that can help?
It works for me, and it certainly works in the case where the query does not
result in a Map/Reduce (which is something that I rely on).

(If you google you should be able to find out about it.)


Peter Marron
Senior Developer, Research & Development

Office: +44 (0) 118-940-7609  [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
Theale Court First Floor, 11-13 High Street, Theale, RG7 5AH, UK

[cid:[EMAIL PROTECTED]66A0]<https://www.facebook.com/pages/Trillium-Software/109184815778307>

[cid:[EMAIL PROTECTED]66A0]<https://twitter.com/TrilliumSW>

[cid:[EMAIL PROTECTED]66A0]<http://www.linkedin.com/company/17710>

Be Certain About Your Data. Be Trillium Certain.

From: Petter von Dolwitz (Hem) [mailto:[EMAIL PROTECTED]]
Sent: 03 December 2013 12:46
Subject: hive.query.string not reflecting the current query

I use hive 0.11 with a five machine cluster. I am reading the property hive.query.string from a custom RecordReader (used for reading external tables).
If I first invoke a query like

select * from mytable where mycolumn='myvalue';
I get the correct query string in this property.
If I then invoke

select * from mytable limit 100;
the property hive.query.string still contains the first query. Seems like hive uses local mode for the second query. Don't know if it is related.
Anybody knows why the query string is not updated in the second case?