mbeckerle commented on PR #2909:
URL: https://github.com/apache/drill/pull/2909#issuecomment-2081781546
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.
--
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]