You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a problem I find in #15817. RisingWave uses arrow to connect with external system and it involves how to convert datatype and array between arrow and risingwave. For now, we used a unified implementation of in arrow_impl. When a specific external system need different conversion, it's difficult to custom. (If we want, we need to rewrite the whole conversion. We hope that able to custom the conversion for some type but keep others same.
Design
To support this, we can introduce a Convert trait like the following: The full implementation in #15817. It may need some refining but the basic idea is the same.
ZENOTME
changed the title
Refactor arrow convert to support custom mutiple convert logic
Refine arrow convert to support custom mutiple convert logic
Mar 20, 2024
ZENOTME
changed the title
Refine arrow convert to support custom mutiple convert logic
Add arrow convert trait to support custom mutiple convert logic
Mar 20, 2024
Background
This is a problem I find in #15817. RisingWave uses
arrow
to connect with external system and it involves how to convert datatype and array between arrow and risingwave. For now, we used a unified implementation of in arrow_impl. When a specific external system need different conversion, it's difficult to custom. (If we want, we need to rewrite the whole conversion. We hope that able to custom the conversion for some type but keep others same.Design
To support this, we can introduce a
Convert
trait like the following: The full implementation in #15817. It may need some refining but the basic idea is the same.The specific system can custom by rewrite the function on demand.
Future Optimizations
No response
Discussions
No response
Q&A
No response
The text was updated successfully, but these errors were encountered: