Похожие чаты

*Need help in Design approach* Long thread, we can connect on

call to discuss more.

I have problem statement,
There are two batch aplications,

1. *Hadoop based hive database*, holds transaction for Asian client, Millions of records

2. *Sql server database*,holds transactions for US client, Millions of records

There is new business requirement, where we need to update transaction records to change *Settlement indicator* column in both database based on common rules/logic. As business rules are same for both Asia and US aplications, we like to create central *common python program* to update settlement indicator like following,

*Asia Hive:*
1. Asia Transaction load job will run, which will ingest Asia transactions in hive table
2. In next job,Asia Hive transactions ges feed to python program
3. Python program will generate settlement indicator value which will get change in Asia Hive table

*US SQL:*
1. US Transaction load job will run, which will ingest US transactions in sql table
2. In next job,US SQL transactions ges feed to python program
3. Python program will generate settlement indicator value which will get change in Asia sql table.

From sql side, its sorted,

*There are challanges in hive side,*
1. We cannot create stored proc in Hive
2. As direct table read is not recommended in python, How to feed Hive transactions to python.Do we need to replicate data from Hive to some other source like file, another table which python will read?
3. If somehow python able to read Hive transactions, how update will happen? As Hive dont support direct update, how to update settlement indicator created by Python.

4 ответов

37 просмотров

too much text. please draw a diagram to show how the data flow, and where you want the data to be processed

Akshay-Dalvi Автор вопроса
Akshay Dalvi
Can we connect please, I will explain

if you send it in group there are higher chances of javing your problem solved btw 😇

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта