You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hudi.apache.org by sagar sumit <co...@apache.org> on 2023/08/24 16:26:18 UTC
[DISCUSS] Multi-table transactions
Hi devs,
RFC-69 proposes some exciting features and in line with that vision,
I would like to propose support for multi-table transactions in Hudi.
As the name suggests, this would enable transactional consistency
across multiple tables, i.e. a set of changes to multiple tables either
completely succeeds or completely fails. This could be helpful for use
cases such as updating details about a sales order that affects 2 or more
tables, deleting records for a customer across 2 or more tables, etc.
Hudi already provides ACID guarantees on a single table and tunable
concurrency control. We would need to build additional orchestration or
consistency mechanisms on top of existing mechanisms. I would like to
put more details in a separate RFC. However, the high-level goal is to
provide the same guarantees as Hudi provides for a single table and
should work with both kinds of concurrency control OCC and MVCC.
Looking forward to hearing some thoughts from you all.
Regards,
Sagar
Re: [DISCUSS] Multi-table transactions
Posted by Vinoth Chandar <vi...@apache.org>.
+1 Reviewed the RFC. Looks like a promising direction to take.
On Thu, Aug 24, 2023 at 9:26 AM sagar sumit <co...@apache.org> wrote:
> Hi devs,
>
> RFC-69 proposes some exciting features and in line with that vision,
> I would like to propose support for multi-table transactions in Hudi.
>
> As the name suggests, this would enable transactional consistency
> across multiple tables, i.e. a set of changes to multiple tables either
> completely succeeds or completely fails. This could be helpful for use
> cases such as updating details about a sales order that affects 2 or more
> tables, deleting records for a customer across 2 or more tables, etc.
>
> Hudi already provides ACID guarantees on a single table and tunable
> concurrency control. We would need to build additional orchestration or
> consistency mechanisms on top of existing mechanisms. I would like to
> put more details in a separate RFC. However, the high-level goal is to
> provide the same guarantees as Hudi provides for a single table and
> should work with both kinds of concurrency control OCC and MVCC.
>
> Looking forward to hearing some thoughts from you all.
>
> Regards,
> Sagar
>