Skip to content

feat(docs): example of multiple catalogs defined in .pyiceberg.yaml - #194

Merged
Fokko merged 3 commits into
apache:mainfrom
jayceslesar:docs/multiple-catalogs
Dec 9, 2023
Merged

feat(docs): example of multiple catalogs defined in .pyiceberg.yaml#194
Fokko merged 3 commits into
apache:mainfrom
jayceslesar:docs/multiple-catalogs

Conversation

@jayceslesar

Copy link
Copy Markdown
Contributor

Spawned from #156

@HonahX HonahX left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread 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.

Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor Author

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

@Fokko Fokko left a comment

Copy link
Copy Markdown
Contributor

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!

@Fokko

Fokko commented Dec 9, 2023

Copy link
Copy Markdown
Contributor

@jayceslesar The Markdown linter has an improvement, can you run make lint?

@jayceslesar

Copy link
Copy Markdown
Contributor Author

@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)

@Fokko

Fokko commented Dec 9, 2023

Copy link
Copy Markdown
Contributor

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?

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?

@Fokko
Fokko merged commit 043aba5 into apache:main Dec 9, 2023
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