Login  Register

Re: when plan to implemnt merge operation

Posted by Liang Chen-2 on May 26, 2017; 3:50pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/when-plan-to-implemnt-merge-operation-tp13228p13264.html

Hi

1. Can you give a specific example, let us first understand your
requirement exactly. Like below, to provide some fact data.

ID date              name       age
1   2017-05-1    carbon     21
2   2017-05-23  spark       30
......

2. I would like to kindly invite your team guys to participate in
contributing this feature if it is confirmed by dev community.

Regards
Liang




2017-05-26 12:47 GMT+08:00 [hidden email] <[hidden email]>:

> hello,
>         my team is trying to implement merge operation,
>         merge   scenario like the following:
>              compare records in two tables(same structure,different amout
> of records)and modify big one ,
>             1. if small.id=big.id and small.date<big.data then update
> bigtable,
>             2. if small.id not in big then insert bigtable.
>         our solution to this scenario is:
>             1. append the smalltable  into bigtable
>             2. delete  records from bigtable which have have the same id
> and leave the one which have the biggest date in bigtable in the back
> concurrently.
>   My question is if Apache Carbon Community has plan to implement similar
> operation?
>
>
>
> [hidden email]
>