Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7495847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:21:15+00:00 2026-05-29T18:21:15+00:00

I have imported near about 10 tables in Hive from MS SQL Server. But

  • 0

I have imported near about 10 tables in Hive from MS SQL Server.
But when I try to cross check the records in Hive in one of the Table I have found more record when I run the query (select count(*) from tblName;).

Then I have drop the that Table and again imported it in Hive. I have observed in Console Logs that (Retrieved 203 records).
And then I tried again for (select count(*) from tblName;) and I got the count as 298.

I dont understand this why this happens. Is anything is wrong in query or it happens due to some incorrect command of sqoop-import.

All other table records are fine.

Pls help me out from this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T18:21:23+00:00Added an answer on May 29, 2026 at 6:21 pm

    I got the solution for this problem from the mailing list and I would like to share it.
    Their reply came as:

    we were experiencing similar issue in the past – table in hive appear to have more rows than were reported to be imported by sqoop and that were actually available in the database.

    Described problem on our side was in incorrect characters in exported data that broke lines in the exported test CSV file. For example some of our rows contained data with new line characters. Because couple of exported rows were split into more lines, number of hive rows appeared to be more than the import number. You might be experiencing similar issue. We’ve solved the issue by using parameter --hive-drop-import-delims (or you can possibly use --hive-delims-replacement). For semantics and usage, please consider taking look at manual:

    http://incubator.apache.org/sqoop/docs/1.4.0-incubating/SqoopUserGuide.html#id1765770

    Thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: I have imported the data from SQl Server to HDFS. The data stored
I have imported my .h file into a 2nd one, but in the 2nd
I have imported the kernel32 library. So, I have the createMutex function available but
I have my CSV file imported as such: records = FasterCSV.read(path, :headers => true,
I have a large table I imported from an Excel spreadsheet. For five of
I have a ArrayList made up of different elements imported from a db, made
I have a single entry output from a paradox table which is imported into
I have xml files been imported onto an FTP server. This is stored in
I have imported a lot of paths from an Adobe Illustrator document right into
I have imported project with Maven. But Subclipse didn't recognize that project already in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.