Re: exception when when calling Driver.getSchema()

2009-06-19 Thread Bill Graham
I was actually just trying to troubleshoot this same issue when I saw your email. Thanks for pointing this out. I've opened a JIRA and submitted a patch for this fyi: https://issues.apache.org/jira/browse/HIVE-568 In the case where the tableDesc is not set on the FetchTask object, I look for the

exception when when calling Driver.getSchema()

2009-06-19 Thread Min Zhou
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().getOuterQueryL