Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Fix SQOOP-1946: split-by Oracle DATE column causes error ORA-01861: literal does not match format string #86

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

michaelh0911
Copy link

Fix SQOOP-1946

This issue occurred when using --query, the ConnManager and InputFormat of ImportJobContext not set to Oracle ones.

Also fix this: Sqoop split-by date wants to compare a timestamp with milliseconds to oracle date

…er and InputFormat of ImportJobContext not set to Oracle ones.
@michaelh0911 michaelh0911 changed the title Fix SQOOP-1946 Fix SQOOP-1946: split-by Oracle DATE column causes error ORA-01861: literal does not match format string Nov 12, 2019
Copy link

@liz-z17 liz-z17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we not using org.apache.sqoop.manager.ImportJobContext context now? I think the usage of com.cloudera.sqoop.* is long deprecated.

Could you correct that and see if it worked that way?

@michaelh0911
Copy link
Author

Are we not using org.apache.sqoop.manager.ImportJobContext context now? I think the usage of com.cloudera.sqoop.* is long deprecated.

Could you correct that and see if it worked that way?

Fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants