-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(docs): example of multiple catalogs defined in .pyiceberg.yaml #194
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @jayceslesar. Just a quick, non-blocking comment from my side
mkdocs/docs/api.md
Outdated
uri: https://rest-server:8181/ | ||
warehouse: my-warehouse | ||
``` | ||
and loaded in python by calling `load_catalog`. See below for an example. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the example primarily illustrates how to load a catalog that is not defined in .pyiceberg.yaml
. For catalogs that are defined in the yaml file, we might say
and loaded in python by calling `load_catalog(name="hive")` and `load_catalog(name="rest")`
Does this sound right to you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think that is more explicit -- will add
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jayceslesar for fixing this! This was super obvious for me, but that's mostly because I wrote the code initially, thanks for adding this example 🙌
Thanks @HonahX for the prompt review!
@jayceslesar The Markdown linter has an improvement, can you run |
@Fokko my org has a manual job that can be run as part of a PR/MR that can run the lint and commit the changes? Is it worth looking at adding something similar? Or stick with the pre-commit? (which I just need to get used to haha) |
Ha, I'm aware of those systems, and I like them! I haven't looked into that much, but this would require committing on someone's behalf? |
Spawned from #156