Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Scenario:
Perform import using v2 api by using deleteNonExisting
Steps:
- Create a db
- Create 2 tables in that db
- Perform an import
- Verify the tables are reflected in atlas
- Drop the table
- Perform an import with deleteNonExisting
- command: export JAVA_HOME=/usr/java/default; /opt/cloudera/parcels/CDH/lib/atlas/hook-bin/import-hive.sh -d db_hive_db_jwics -deleteNonExisting -o /tmp/db_wetbq.zip
Problem:
Here deleteNonExisting is not honoured when used in the V2 api and the dropped table's status is still active in Atlas