mirror of
https://github.com/apache/sqoop.git
synced 2025-05-17 01:11:07 +08:00
SQOOP-1136. Sqoop2: MBooleanInput should copy persistenceId when cloning.
(Mengwei Ding via Hari Shreedharan)
This commit is contained in:
parent
2e196a8419
commit
4997f97bc3
@ -74,6 +74,7 @@ public void setEmpty() {
|
||||
@Override
|
||||
public Object clone(boolean cloneWithValue) {
|
||||
MBooleanInput copy = new MBooleanInput(getName(), isSensitive());
|
||||
copy.setPersistenceId(this.getPersistenceId());
|
||||
if(cloneWithValue) {
|
||||
copy.setValue(getValue());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user