mirror of
https://github.com/apache/sqoop.git
synced 2025-05-02 18:42:47 +08:00
FIX data duplicated when found both 'TABLE PARTITION'
and 'INDEX PARTITION' on same partition.
This commit is contained in:
parent
a9f051c5af
commit
5f1d08907a
@ -302,6 +302,7 @@ private static void bindPartitionBindVars(PreparedStatement statement,
|
||||
+ " AND s.owner=t.owner "
|
||||
+ " AND s.segment_name=t.table_name) "
|
||||
+ " ) "
|
||||
+ "AND s.segment_type!='INDEX PARTITION'"
|
||||
+ "AND s.partition_name=pl.partition_name";
|
||||
|
||||
PreparedStatement statement = connection.prepareStatement(sql);
|
||||
|
Loading…
Reference in New Issue
Block a user