-
Notifications
You must be signed in to change notification settings - Fork 319
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
[#3058] improvement(client-python): Correct type specification of create_fileset function #3509
Conversation
@noidname01 can you please add a UT for this? |
@jerryshao Sure, I think it's better to work on it after #3517 has been done. I will solve that issue first. |
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
@noidname01 Thank you fix this issue.
@@ -92,7 +92,7 @@ def create_fileset( | |||
self, | |||
ident: NameIdentifier, | |||
comment: str, | |||
type: Catalog.Type, | |||
type: Fileset.Type, |
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.
Yes, you are right.
The corresponding java code in the here: https://github.com/datastrato/gravitino/blob/main/api/src/main/java/com/datastrato/gravitino/file/FilesetCatalog.java#L76
…ate_fileset function (#3509) ### What changes were proposed in this pull request? * Change the suggest type of `type` from `Catalog.Type` to `Fileset.Type` ### Why are the changes needed? Fix: #3508 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? `./gradlew :clients:client-python:test` Co-authored-by: TimWang <tim.wang@pranaq.com>
…of create_fileset function (apache#3509) ### What changes were proposed in this pull request? * Change the suggest type of `type` from `Catalog.Type` to `Fileset.Type` ### Why are the changes needed? Fix: apache#3508 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? `./gradlew :clients:client-python:test` Co-authored-by: TimWang <tim.wang@pranaq.com>
What changes were proposed in this pull request?
type
fromCatalog.Type
toFileset.Type
Why are the changes needed?
Fix: #3508
Does this PR introduce any user-facing change?
No
How was this patch tested?
./gradlew :clients:client-python:test