5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-09 07:11:32 +08:00

SQOOP-2731: Sqoop2: DisabledObjectsTest creates table that is too long for oracle

(Abraham Fine via Jarek Jarcec Cecho)
This commit is contained in:
Jarek Jarcec Cecho 2015-12-10 11:55:40 +01:00
parent 2a01ff2c83
commit 05e60b969b

View File

@ -19,6 +19,7 @@
import org.apache.sqoop.client.ClientError; import org.apache.sqoop.client.ClientError;
import org.apache.sqoop.common.SqoopException; import org.apache.sqoop.common.SqoopException;
import org.apache.sqoop.common.test.db.TableName;
import org.apache.sqoop.connector.hdfs.configuration.ToFormat; import org.apache.sqoop.connector.hdfs.configuration.ToFormat;
import org.apache.sqoop.error.code.DriverError; import org.apache.sqoop.error.code.DriverError;
import org.apache.sqoop.model.MLink; import org.apache.sqoop.model.MLink;
@ -129,4 +130,10 @@ public void testWithDisabledObjects() throws Exception {
} }
} }
} }
// The default table name is too long for oracle
@Override
public TableName getTableName() {
return new TableName("DisabledObjectsTest");
}
} }