gaojun2048 commented on issue #1882:
URL: 
https://github.com/apache/arrow-datafusion/issues/1882#issuecomment-1053574320


   > 
   
   
在https://github.com/apache/arrow-datafusion/pull/1881这个pr中,我参考了https://adventures.michaelfbryan.com/posts/plugins-in-rust/和https://michael-f-bryan.github.io/rust-ffi-guide/dynamic_loading.html
 这两篇文章来设计UDF Plugin,这个想法要求插件的crate-type必须是cdylib. 通过初步的测试来看并没有出现statically 
compiled plugins won't end up forgotten in binaries的问题。
   
   对不起,我对python并不是太熟悉,如果你愿意,你可以帮忙实现datafusion python相关的代码。
   
   谢谢
   
   In the PR: https://github.com/apache/arrow-datafusion/pull/1881 I refer to 
https://adventures.michaelfbryan.com/posts/plugins-in-rust/ and 
https://michael-f-bryan.github.io/rust-ffi-guide/dynamic_loading.html These two 
articles are used to design UDF plugin. The idea requires that the crate type 
of the plug-in must be cdylib .According to the preliminary test, there is no 
problem of statically compiled plugins won't end up forgotten in binaries.
   Sorry, I'm not very familiar with Python. If you like, you can help 
implement the code related to datafusion python.
   thank you!


-- 
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]


Reply via email to