hudi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinoth Chandar <vin...@apache.org>
Subject Re: Possible ambiguity in HoodieKey
Date Tue, 11 Jun 2019 16:00:30 GMT
Hi Jaimin,

True. Is this a custom class you have? if we separate the concatenation by
a standard special character, it should be fine?  for e.g  CA#US, C#AUS ?

Thanks
Vinoth

On Mon, Jun 10, 2019 at 4:53 AM Jaimin Shah <shahjaimin0395@gmail.com>
wrote:

> Hi
>   I was going through the ComplexKeyGenerator class. I found that the class
> generates key by concatenating the all keys to make compound key. But I am
> wondering that some cases can arise later which can create problems.
>
> For example our data has 2 attributes as key
> key1 key2  data
> CA   US       xyz
> C    AUS       abc
>
> In this case key for both rows will be same will it cause any problem?
> Instead of keeping keys as string keeping them as map will solve the
> problem?
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message