You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Dharshana M Krishnamoorthy (Jira)" <ji...@apache.org> on 2022/04/29 10:39:00 UTC

[jira] [Created] (ATLAS-4598) [Hive import v2] deleteNonExisting is not honoured when used with v2 api

Dharshana M Krishnamoorthy created ATLAS-4598:
-------------------------------------------------

             Summary: [Hive import v2] deleteNonExisting is not honoured when used with v2 api
                 Key: ATLAS-4598
                 URL: https://issues.apache.org/jira/browse/ATLAS-4598
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Dharshana M Krishnamoorthy


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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)