Created 02-26-2020 05:49 AM
Hi everybody,
I'm trying to import into Hive several Oracle tables using Sqoop. These tables have some columns, with NUMBER datatype, that contains numbers with more than 38 digits (e.g. 359348581549148849670250346862698439865). Now:
I can think of a couple of workarounds (e.g. casting those columns as VARCHAR2(40) in the Sqoop source query), but they'll complicate considerably my scripts. Is there a simple way to import such columns in a way that preserves the original appearance?
Thanks!
Created 02-27-2020 06:03 PM
Created 02-28-2020 05:59 AM
@EricL , thanks for the reply. I don't have the permissions to create views on the source system. I think, I'm going to try the "CAST" approach.
Thanks!