[
https://issues.apache.org/jira/browse/DRILL-8474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18055811#comment-18055811
]
ASF GitHub Bot commented on DRILL-8474:
---------------------------------------
mbeckerle commented on PR #2989:
URL: https://github.com/apache/drill/pull/2989#issuecomment-3831753177
I would like this to be tested with the example schema mentioned above.
I'm unclear on a detail here as to whether this approach will work.
The directory containing the "create daffodil schema" jar files isn't what
needs to be on the classpath. Rather, each daffodil plugin jar file
individually needs to be on the classpath. Daffodil is using the java SPI which
searches for META-INF files in each jar on the classpath to find daffodil's
plugins.
For code security reasons (I suppose) the idea that software can modify its
own classpath dynamically seems to require quite a lot of jumping through hoops
in Java/JVMs e.g., separate class loaders which adds a fair bit of complexity
(ex: https://chatgpt.com/share/697f9c04-3700-800f-941b-0ff7fc5d3a74).
> Add Daffodil Format Plugin
> --------------------------
>
> Key: DRILL-8474
> URL: https://issues.apache.org/jira/browse/DRILL-8474
> Project: Apache Drill
> Issue Type: New Feature
> Affects Versions: 1.21.1
> Reporter: Charles Givre
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)