UDF 使用 Java 根据 UDF 的参数动态构建 SQL
我有一个 POC,可以使用 UDF 动态构建 sql 查询,执行它以使用各种联接和选择创建表。我们需要在各个 SF 实例之间共享 UDF。
我尝试使用 SQL 但标识符无法解析。于是,开始使用JAVA。我现在可以参考参数了。但是,我不知道如何在 JAVA udf 中执行 SQL。
我需要什么库?有谁有在 SF 中 UDF/JAVA 执行 SQL 的示例吗?
我很感激任何帮助。
谢谢 诺贝托
I have a POC to use UDF's to dynamically build a sql query, execute it to create a table using various joins and selects. We need to share the UDF across various SF instances.
I tried using SQL but identifier does not resolve. So, starting using JAVA. I can now reference parameters. However, I cannot figure out how to execute the SQL within the JAVA udf.
What libraries do I need? Does anyone have an example of UDF/JAVA executing SQL in SF.
I appreciate any help with this.
Thanks
Norberto
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论