Github user gatorsmile commented on the pull request:
https://github.com/apache/spark/pull/12146#issuecomment-206560036
Found the cause. Hive behaves differently. When using Hive Native SQL
command, we did not get an exception from Hive when the table does not exist,
but an error log message:
```
16/04/06 13:44:39 ERROR Hive: Table tab1 not found: d1.tab1 table not found
```
However, if we use Hive Client APIs, we will get an exception... Will try
to mimic the behaviors of Hive Native SQL command; otherwise, 30+ test cases
from HiveCompabilitySuite will fail.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]