Generate incremental key in Hive

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

 

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

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now