pinal-shah commented on code in PR #305:
URL: https://github.com/apache/atlas/pull/305#discussion_r2009967142
##########
addons/impala-bridge/src/main/java/org/apache/atlas/impala/hook/events/BaseImpalaEvent.java:
##########
@@ -208,8 +208,8 @@ protected String getQualifiedName(List<AtlasEntity> inputs,
List<AtlasEntity> ou
}
}
- if (operation != ImpalaOperationType.QUERY) {
- String errorMessage = String.format("Expect operation to be QUERY,
but get unexpected operation type {}", operation.name());
+ if (operation != ImpalaOperationType.QUERY && operation !=
ImpalaOperationType.QUERY_WITH_CLAUSE) {
+ String errorMessage = String.format("Expect operation to be QUERY
and QUERY_WITH_CLAUSE, but get unexpected operation type {}", operation.name());
Review Comment:
Please change the errorMessage to "Expect operation to be QUERY or
QUERY_WITH_CLAUSE ..."
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]