cgivre commented on PR #2909:
URL: https://github.com/apache/drill/pull/2909#issuecomment-2095044801
Hi Mike,
Are you free at all this week? My apologies... We're in the middle of
putting an offer on a house and my life is very hectic at the moment.
Best,
-- C
> On Apr 28, 2024, at 10:11 PM, Mike Beckerle ***@***.***> wrote:
>
>
> Tests are now failing due to these two things in TestDaffodilReader.scala
>
> String schemaURIRoot =
"file:///opt/drill/contrib/format-daffodil/src/test/resources/";
> That's an absolute URI that is used to obtain access to the schema files
in this statement:
>
> private String selectRow(String schema, String file) {
> return "SELECT * FROM table(dfs.`data/" + file + "` " + " (type =>
'daffodil'," + " " +
> "validationMode => 'true', " + " schemaURI => '" + schemaURIRoot +
"schema/" + schema +
> ".dfdl.xsd'," + " rootName => 'row'," + " rootNamespace => null "
+ "))";
> }
> This is assembling a select statement, and puts this absolute schemaURI
into the schemaURI part of the select.
>
> What should I be doing to arrange for these schema URIs to be found.
>
> The schemas are a large complex set of files, not just a single file. Many
files must be found relative to the initial root schema file. (Hundreds of
files potentially). As they include/import other schema files using relative
paths.
>
> —
> Reply to this email directly, view it on GitHub
<https://github.com/apache/drill/pull/2909#issuecomment-2081781546>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKB7PT327D7FTY34D7Z6ULY7WT5DAVCNFSM6AAAAABG4LUKI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRG44DCNJUGY>.
> You are receiving this because you commented.
>
--
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]