Davis Zhang created HUDI-9588:
---------------------------------

             Summary: Revise the Index code path with better abstraction
                 Key: HUDI-9588
                 URL: https://issues.apache.org/jira/browse/HUDI-9588
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: Davis Zhang


we should add an interface {{SecondaryIndexKey}} and map it to allowable types? 
just to move the code to a nicer point.. i.e {{IntegerIndexKey}} 
{{FloatIndexkey}} etc..
interface SecondaryIndexKey<T> \{ fromString() -> T toString(T) -> String }

 

Other context contribute to this

https://issues.apache.org/jira/browse/HUDI-9548

https://issues.apache.org/jira/browse/HUDI-9551

 

we should examine all existing index use case and factors and commonly seen 
procedures and make them unified under the same abstraction



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to