Hi Charles,

The PR here: https://github.com/apache/drill/pull/2909 has all the
latest stuff, on 3.8.0 daffodil and rebased on current master.

It fails tests because it still contains an absolute file URI that
will not be found on systems other than mine. Getting this to find the
files in the DRILL_CONFIG_DIR is part of the needed changes.

For data and DFDL schema to test on, I suggest just grabbing existing
unit test files in the test resources:

Under src/test/resources/data, the file moreTypes1.txt.dat
The corresponding schema is src/test/resources/schema/moreTypes1.dfdl.xsd.

If those 2 files can be placed in DRILL_CONFIG_DIR/lib or other magic
location, and then a query like:

SELECT * FROM
  table(dfs.[[[ somehow refer to the data moreTypes1.txt.dat]]]
  (type => 'daffodil',
  validationMode => 'true',
   schemaURI => [[[somehow refer to the schema moreTypes1.dfdl.xsd]]] ,
   rootName => 'row',
   rootNamespace => null ))

that's what we need.
This should return results corresponding to the current unit test
testMoreTypes1(). Just two rows, but they illustrate most data types
working.

On Sun, Jul 7, 2024 at 11:27 AM Charles Givre <cgi...@gmail.com> wrote:
>
> Mike,
> Thanks for the response.  Would you mind please rebasing on current master, 
> and doing the DFDL update, then sending me sample test data?  I can see what 
> I can figure out with respect to where the files go.
>
> Best,
> — C
>
>
> On Jul 5, 2024, at 12:18, Mike Beckerle <mbeckerle.d...@gmail.com> wrote:
>
> k)
>
>

Reply via email to