Closed BerryOsterlund closed 5 years ago
VERSIONS_STARTSCN column was added to the sqoop config for Oracle Flashback imports. This column is later used for a "select
As VERSIONS_STARTSCN has to be cast into a BigInt, there will always be a View so it's safe to use this option.
If a row is deleted, inserted, deleted again then inserted one more time and at the last point, and updates aswell in the same windows between SCN timestamps, Hive Merge command will generate a cardinality_violation error. The reason for this is that the current logic in DBImport will import the Deleted and Updated rows and that will result in 3 rows with the same PK.