Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.3.0
Description
These diffs address this issue - https://issues.cloudera.org/browse/SQOOP-43.
I changed DirectPostgresManager.java to special-case rewrite COPY.... command for boolean fields so that hive sees "true"/"false". The only shortcoming with my patch is that because PG jdbc driver can not tell bit data types from booleans, direct import will break with SQL cast errors if someone has real bit fields. Not sure how often people use those, but it will break direct import for that one person who does. If you have an idea on how I can make this better, let me know. Diffs are attached
Attachments
Attachments
Issue Links
- depends upon
-
SQOOP-352 Export of avro data imported from database table (using sqoop import) fails on year
- Resolved