Skip to content

docs: clarify some things in README, update version compatibility matrix#46

Merged
jvanstraten merged 1 commit intosubstrait-io:mainfrom
jvanstraten:improve-readme
Aug 30, 2022
Merged

docs: clarify some things in README, update version compatibility matrix#46
jvanstraten merged 1 commit intosubstrait-io:mainfrom
jvanstraten:improve-readme

Conversation

@jvanstraten
Copy link
Collaborator

No description provided.

README.md Outdated
interesting to try a plan that *isn't* valid, but we'll leave that as an
excercise to the reader.
excercise to the reader. Note that the validator supports other file types as
well, including JSON, [JDOT](https://github.com/saulpw/jdot), and of course

Choose a reason for hiding this comment

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

Suggested change
well, including JSON, [JDOT](https://github.com/saulpw/jdot), and of course
well, including JSON, [JDOT](https://github.com/saulpw/jdot), and of course,

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed "of course" altogether.

README.md Outdated
`--mode ignore` tells the validator to emit a file and exit with code 0
regardless of the validation result. The full list of modes is:
The validator only emits an output file if it exits with code 0, and exits
with code 1 if validation fails, in order to play nicely with build systems

Choose a reason for hiding this comment

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

Suggested change
with code 1 if validation fails, in order to play nicely with build systems
with code 1 if validation fails, to play nicely with build systems

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I personally like the explicitness of "in order to" for signalling intent more than just "to", but people tend to find my writing too verbose so I'll accept this one.

can use this to convert between the binary protobuf serialization format
and any of the text-based formats supported by the validator.
- `ignore`: ignore the validation result (the plan still needs some level of
sanity for the validator to succeed; for example, the file must exist, and

Choose a reason for hiding this comment

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

Suggested change
sanity for the validator to succeed; for example, the file must exist, and
sanity for the validator to succeed; for example, the file must exist and

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Both are grammatically correct, but the comma signals that the two things are separate examples rather than a single one. That was my intention, so I've left this one as is.

@jvanstraten jvanstraten merged commit 377a634 into substrait-io:main Aug 30, 2022
@jvanstraten jvanstraten deleted the improve-readme branch August 30, 2022 13:37
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.

2 participants

Comments