Похожие чаты

*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 ответов

31 просмотр

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 😇

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

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

30500 за редактор? )
Владимир
47
any reference of this implementation?
BitBuddha
29
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
9
Anyone else having this error when trying to make transactions?
Datzel
11
Question: How viable is it to use Anvil as the backend infrastructure for managing a TradFi portfolio, while integrating Flexa for instant liquidity and payment solutions? Cou...
Kevin
2
вы делали что-то подобное и как? может есть либы готовые? увидел картинку нокода, где всё линиями соединено и стало интересно попробовать то же в ddl на lua сделать. решил с ч...
Victor
8
Карта сайта