Reply
Highlighted
New Contributor
Posts: 1
Registered: ‎08-21-2015

How to capture query errors in IMPALA JDBC?

Sometimes my query ends with an error like:

ERROR: Query encountered invalid metadata, likely due to IMPALA-1702. Try rerunning the query.

This doesn't raise any exception but query really doesn't pass.

Also, in insert queries, we get a response in command like

Inserted 18517844 row(s) in 238.88s

How do you capture that response with JDBC?

Cloudera Employee
Posts: 395
Registered: ‎07-29-2015

Re: How to capture query errors in IMPALA JDBC?

Announcements