Home Forums Sqoop Can I write the data into CSV file using Sqoop?

This topic contains 1 reply, has 2 voices, and was last updated by  Venkat Ranganathan 3 months ago.

  • Creator
    Topic
  • #57900

    Mohan kumar Dalai
    Participant

    Hi,
    Is there a way to extract data from SQL Server and extract the data using SQL QUerty and write the query result into CSV file?? If Sqoop doesn’t support this then what is the other way to do it? by using PIG? or ???

Viewing 1 replies (of 1 total)

The topic ‘Can I write the data into CSV file using Sqoop?’ is closed to new replies.

  • Author
    Replies
  • #57904

    Venkat Ranganathan
    Participant

    You can use Sqoop to import data. Please see a blog post on this that was published recently specifically targeted towards SQLServer (http://hortonworks.com/hadoop-tutorial/import-microsoft-sql-server-hortonworks-sandbox-using-sqoop/) . Sqoop allows you to write the data to text files with CSV, TSV or other separators, import into hive in varous formats like ORC, RCFile etc.

    Venkat

    Collapse
Viewing 1 replies (of 1 total)