Hi developers,

Recently when I went through Hudi codebase, I found some annoying warning
'raw use of
parameterized class' and some other generic type related.

It seems the root of this wide usage of raw type is HoodieRecordPayload
where

  HoodieRecordPayload<T extends HoodieRecordPayload>

should have been

  HoodieRecordPayload<T extends HoodieRecordPayload<T>>

I'm not sure what community think of this wide usage of raw type and given
it affect most of our
code I'd like to start this thread for advice. Personally explicit type
signature benefits from strong
type system but it might cause some signature breaking changes as well as
require a huge
engineering effort.

Shall Hudi live with these raw types? Or we will have a plan migrate to
explicit generic type?

Best,
tison.

Reply via email to