Generate incremental key in Hive

Highlighted
Four Stars

Generate incremental key in Hive

Hello,

 

I am using the tELTHiveInput, tELTHiveMap and tELTHiveOutput to read data from a Hive table and write it to a separate table. This works fine. However, I am now trying to generate a key for the target table, i.e. an incremental ID.

 

Is this possible to do? I found that you can generate a sequence such as this with tRowGenerator and use the expression Numeric.sequence(...) but I cannot actually connect it to tELTHiveMap to add it to the other columns. Any ideas?

 

Thank you,

Axel

 

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

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch