Hi guys,

Driver.getSchema() obtains current result's tableDesc and assemble it to a
String. I found if do select all queries on a table contains partitions,  a
null pointer exception will happens.  See SemanticAnalyzer.java:3681: fetch
= new fetchWork(listP, partP, qb.getParseInfo().getOuterQueryLimit());
tableDesc hasn't been created for that fetchWork during the query time.

Here is an example : select * from web_log where dt ='20090619'  ,  where dt
is the parition column of web_log.

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

My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com

Reply via email to