mirror of
https://github.com/apache/impala.git
synced 2026-01-08 21:03:01 -05:00
A NPE is also encountered when trying to drop a partition which does not exist. Currently, catalogd sends a response to impalad that contains a dummy TCatalogObject of type "TABLE" but contains nulls for all other fields. This causes a null pointer exception when impalad tries to access those null fields. The exception never gets exposed to the user as it was caught and ignored. In this case, the fix is that catalogd responds with an empty TCatalogUpdateResult that contains no dummy TCatalogObject objects. No testing was added since the NPE never gets exposed to the user. Change-Id: Ic829e8580c14ed88adf7a0d1571381526b18a206 Reviewed-on: http://gerrit.cloudera.org:8080/3324 Reviewed-by: Dimitris Tsirogiannis <dtsirogiannis@cloudera.com> Tested-by: Internal Jenkins