Sqoop importing files from HDFs into Oracle with questions about date types

Source: Internet
Author: User
Tags sqoop

In recent projects, the results of the completion of Hadoop operations (which exist on HDFs) need to be imported into Oracle, but when you import the Date field ' 2016-03-01 ' in HDFs with Sqoop, the Sqoop error says that the date type must be ' yyyy-mm-dd HH:MM:SS.ffffffff .

Does Sqoop not support the custom to_date function, so I started looking for answers online, but I could hardly find the relevant information until I saw the following information on the Sqoop website:

Sqoop when importing date types to Oracle, only the full format time type is supported!!!

I hope it will be helpful for you to post this question here.

Sqoop importing files from HDFs into Oracle with questions about date types

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.