python - Using Arrow ADBC to register UDF - Stack Overflow

While chasing down performance and cleaner code, I've ran into this problem I've found that U

While chasing down performance and cleaner code, I've ran into this problem I've found that UDF's are seemingly connection dependent, not database dependent. If I, for instance, used a trigger on insertion using adbc_ingest(), but the UDF is defined within an sqlite3 connection, it would fail, giving me this kind of error:

adbc_driver_manager.InternalError: INTERNAL: failed to prepare: no such function: example_function

Therefore, my method of using a normal sqlite3 connection along with an adbc connection will not work. I was wondering if there was any way to register UDF's via the adbc API directly, as the documentation for adbc doesn't seem to highlight UDF creation anywhere.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743742403a4499385.html

相关推荐

  • python - Using Arrow ADBC to register UDF - Stack Overflow

    While chasing down performance and cleaner code, I've ran into this problem I've found that U

    6天前
    100

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信