Kikkon commented on issue #5880: URL: https://github.com/apache/arrow-rs/issues/5880#issuecomment-2256202062
Hello @pbower @alamb Recently, due to some work-related matters, progress has been slow. I've been verifying the feasibility of build a POC for an arrow-rs flight wasm client using tonic-web-wasm-client. Here are the modifications I've made: 1. Cleaned up dependencies that couldn't wasm build, such as tokio's rt-multi-thread and tonic's transport. 2. Replaced the channel with tonic-web-wasm-client's client. 3. Started the flight server in grpc-web mode to support calls from tonic-web-wasm-client. 4. Added necessary dependencies and configurations for wasm build. (🤣 the related code can be found at https://github.com/Kikkon/arrow-rs/tree/wasm_poc, but much of it is copied for the POC and has poor readability) Current issues: 1. I've only tested that the server's Handshake requests reach the Rust-based server correctly, but there seem to be issues with the returned data. I plan to test with SQL Server and other API. 2. Regarding the relationship between this module and arrow-flight, should it be a separate repository or a module similar to arrow-flight-wasm? It looks like it will use some code from arrow-flight. I'm not very familiar with Rust, I hope @alamb you can provide some suggestions. Plans after the POC: 1. Determine where the module should reside and complete the necessary code refactoring. 2. Wrap the wasm client's API comprehensively. 3. Test and benchmark (following arrow-flight as a reference). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
