Talend Component to read different file formats.

Highlighted
Six Stars

Talend Component to read different file formats.

Hi Everyone,

I'm not able to read ORC files using hdfs components.

Can someone please help me understand, which components to be used to read 

ORC, AVRO, Parquet files for processing.

 

Regards

Nine Stars

Re: Talend Component to read different file formats.

Sample hive command to read ORC file from HDFS - 

Read ORC file data:

hive –orcfiledump -d HDFS Path to the file > orcFileDump.txt

Now to run hive command or script through Talend you need to use tSystem and a local installation of Hive will be required - from where you are running your Talend jobs as you will call the hive CLI, which indeed requires hive to be installed.

Six Stars

Re: Talend Component to read different file formats.

Thanks for the reply @iamabhishek.

 

The second part of your answer isn't clear, can you please elaborate more.

 

Btw can't i use Hiveinput component to read orc data? 

Nine Stars

Re: Talend Component to read different file formats.

@Lucifer_18 what I meant was to run the hive command you have to tSystem component and make sure that Hive is installed in the server where you are running your jobs from as hive commands needs HIve CLI to be present.
No, we can't use tHiveInput to read from orc file - as tHiveInput is the dedicated component to the Hive database (the Hive data warehouse system). It can execute a given HiveQL query in order to extract the data from Hive. If there is any external table created pointing to the orc file location then you can use tHiveInput to query from the table.

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now