You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fury.apache.org by "stevenschlansker (via GitHub)" <gi...@apache.org> on 2025/05/06 21:17:48 UTC

[I] [Java] Ability to extend Row Format types [fury]

stevenschlansker opened a new issue, #2208:
URL: https://github.com/apache/fury/issues/2208

   ### Feature Request
   
   We are interested in using the row format from Java. We have more complicated row types than the current list supports - for example `OptionalLong`, `SortedSet`, and `java.time.ZoneId` type in the JDK, as well as custom types (that we can convert to and from byte[] already). The current api, `Encoders.bean(MyType.class)` does not provide any ability to extend the possible field types the bean may contain, whether adding JDK types or our own custom types.
   
   It would be nice if this api is extensible, so we can register our own types into the fury row format, for both serialization and deserialization. Some may be simple aliases - for example `SortedSet` definition could be an existing array mapping with a `TreeSet::new` collection supplier, and others would be more flexible and have custom `byte[]` mapping.
   
   ### Is your feature request related to a problem? Please describe
   
   _No response_
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Java] Ability to extend Row Format types [fury]

Posted by "stevenschlansker (via GitHub)" <gi...@apache.org>.
stevenschlansker commented on issue #2208:
URL: https://github.com/apache/fury/issues/2208#issuecomment-2873670502

   Thanks for the encouragement @chaokunyang . I will try to work on a proposal as I have time.
   Would I just open a draft PR when I have something to share? or does Fury like having a design doc and design review first


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Java] Ability to extend Row Format types [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang commented on issue #2208:
URL: https://github.com/apache/fury/issues/2208#issuecomment-2875160134

   For the implementation, fury row format use apapche arrow type system, maybe we could use arrow extension type for extended row format types


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Java] Ability to extend Row Format types [fury]

Posted by "stevenschlansker (via GitHub)" <gi...@apache.org>.
stevenschlansker closed issue #2208: [Java] Ability to extend Row Format types
URL: https://github.com/apache/fury/issues/2208


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Java] Ability to extend Row Format types [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang commented on issue #2208:
URL: https://github.com/apache/fury/issues/2208#issuecomment-2863592357

   Hi @stevenschlansker , thanks for creating this issue. This is an interesting feature request. But I'm busy on other things, would you like to implement this feature?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Java] Ability to extend Row Format types [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang commented on issue #2208:
URL: https://github.com/apache/fury/issues/2208#issuecomment-2875158863

   @stevenschlansker A design doc would be better, we could put it into `docs/specification/row_format_spec.md`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org