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
Add storageType field to HouseTable Entity #81
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.
We should add a test to check backwards compatibility. Check that if storageType is not populated in the database then it does not break anything.
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.
the changes are looking good overall, ty. Its only missing populating the field in HouseTable
entity. Could we change HouseTableMapper::toHouseTable
to populate storageType="hdfs" if it's not already set in tableProperties?
Also, a local docker test would be fantastic to have: https://github.com/linkedin/openhouse/blob/main/SETUP.md
.../internalcatalog/src/main/java/com/linkedin/openhouse/internal/catalog/model/HouseTable.java
Outdated
Show resolved
Hide resolved
bc4a84c
to
8ff7d67
Compare
Hey @HotSushi and @jainlavina! I have updated the pull request. Please take a look. Here are the main changes:
|
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.
Its looking good, can we add a screenshot of the request received in HTS service, maybe from the docker log?
...ernalcatalog/src/test/java/com/linkedin/openhouse/internal/catalog/model/HouseTableTest.java
Show resolved
Hide resolved
@HotSushi Attached are the screenshots from the docker log during the manual test. Thanks! |
@HotSushi Attaching screenshot from HTS as well. |
Taking a look at the failed test |
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 for the extensive testing in this PR, unit tests and docker screenshots made it very easy to review
Summary
Issue Added a storageType field to the HouseTable Entity to support multiple storage types.
Resolves #80
Changes
For all the boxes checked, please include additional details of the changes made in this pull request.
Added storageType field to the HouseTable DTO.
Testing Done
For all the boxes checked, include a detailed description of the testing done for the changes made in this pull request.
Additional Information
For all the boxes checked, include additional details of the changes made in this pull request.