-
Notifications
You must be signed in to change notification settings - Fork 26
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
RETIRED: Hibernate Migration (replaced by 543) #532
RETIRED: Hibernate Migration (replaced by 543) #532
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
PR image build and manifest generation completed successfully! 📦 PR image: 🗂️ CI manifests |
/test trustyai-explainability-e2e |
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-hibernate-orm</artifactId> | ||
<version>3.2.11.Final</version> | ||
</dependency> |
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 would try to keep explainability-core
thin so I prefer to have a explainability-persistance
module to compose this use case if possible.
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-hibernate-orm</artifactId> | ||
<version>3.2.11.Final</version> |
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.
This should be managed via the import of quarkus bom instead of explicit version (this version is tied to quarkus version)
/** | ||
* Wrapper class for any kind of value part of a prediction input or output. | ||
* | ||
*/ | ||
@Embeddable |
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.
If you only need similar annotation in core you can add jakarta-persistance-api dependency
...lity-core/src/main/java/org/kie/trustyai/explainability/model/dataframe/DataframeColumn.java
Show resolved
Hide resolved
...ore/src/main/java/org/kie/trustyai/explainability/model/dataframe/DataframeInternalData.java
Show resolved
Hide resolved
@CacheResult(cacheName = "dataframe", keyGenerator = DataCacheKeyGen.class) | ||
Dataframe readData(String modelId) throws StorageReadException; |
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.
This is mixing storage and caching, we need to pay attention to this while we do performance test otherwise we have wrong/fake result
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.
Yep, I'm aware of this, that's why performance tests always retrieve novel dfs, never the same df twice
...ainability-core/src/main/java/org/kie/trustyai/explainability/model/dataframe/Dataframe.java
Show resolved
Hide resolved
explainability-service/src/main/java/org/kie/trustyai/service/data/storage/Storage.java
Show resolved
Hide resolved
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Many thanks for submitting your Pull Request ❤️!
Please make sure that your PR meets the following requirements:
FAI-XYZ Subject
[0.3.x] FAI-XYZ Subject