Skip to content

WIP: Metadata walker for JAPI#1092

Closed
mbeckerle wants to merge 1 commit intoapache:mainfrom
mbeckerle:drill
Closed

WIP: Metadata walker for JAPI#1092
mbeckerle wants to merge 1 commit intoapache:mainfrom
mbeckerle:drill

Conversation

@mbeckerle
Copy link
Contributor

@mbeckerle mbeckerle commented Oct 14, 2023

For preliminary review.

Enables systems that want to interface tightly with Daffodil via JAPI, to walk the runtime schema information so as to construct their own corresponding metadata.

Done to enable Apache Drill but should be useful generally.

For use case, see PR in Apache Drill: apache/drill#2836

DAFFODIL-2832

Enables systems that want to interface tightly with Daffodil
via JAPI, to walk the runtime schema information so as to construct
their own corresponding metadata.

DAFFODIL-2832
@mbeckerle mbeckerle requested a review from tuxji October 14, 2023 03:55
Copy link
Contributor

@tuxji tuxji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this PR is still a work in progress, will only make some comments.

I agree that this new RuntimeSchemaWalker.scala's API needs unit tests with examples of how to call the API properly. I agree that some API names such as elementSimple could be better named simpleElement or startSimpleElement (without an end function).

@mbeckerle
Copy link
Contributor Author

Closing. Superceded by PR:

#1112

Relevant comments on this have been recorded there with links back to this PR for context.

@mbeckerle mbeckerle closed this Nov 9, 2023
@mbeckerle mbeckerle deleted the drill branch November 11, 2023 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants