Skip to content

Add a warning/validation for requested physical + logical types combination #118

@adanilenka

Description

@adanilenka

Currently, it is possible to supply an invalid combination of a physical and logical type to rdf to-jelly command, like:

jelly-cli rdf to-jelly ./in.nq --to ./out_invalid.jelly --opt.logical-type=SUBJECT_GRAPHS --opt.physical-type=QUADS

The file is produced with no issues and the error appears only when validating/inspecting/deserializing the file.

Image

It would be nice to show a warning/error during serialization, so as to prevent users from creating invalid jelly files.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions