mneethiraj commented on code in PR #360:
URL: https://github.com/apache/atlas/pull/360#discussion_r2105148058
##########
addons/hive-bridge/src/main/java/org/apache/atlas/hive/bridge/HiveMetaStoreBridge.java:
##########
@@ -711,6 +711,9 @@ private AtlasEntityWithExtInfo toTableEntity(AtlasEntity
database, Table hiveTab
private AtlasEntityWithExtInfo toTableEntity(AtlasEntity database, final
Table hiveTable, AtlasEntityWithExtInfo table) throws AtlasHookException {
if (table == null) {
table = new AtlasEntityWithExtInfo(new
AtlasEntity(HiveDataTypes.HIVE_TABLE.getName()));
+ } else if (table.getEntity().getAttribute(ATTRIBUTE_NAME) == null) {
+ table.getEntity().setAttribute(ATTRIBUTE_NAME,
hiveTable.getTableName().toLowerCase());
+ table.getEntity().setIsIncomplete(false);
Review Comment:
Why is it necessary to set `isInComplete = false` here?
--
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]