Repository navigation
fix: add isDatasetDownloadable and align field order & docstring in dataset query - #3723
Conversation
… UnifiedResourceSchema
… UnifiedResourceSchema
There was a problem hiding this comment.
Pull Request Overview
Fixes dataset-related dashboard query by adding the missing isDatasetDownloadable field and ensuring proper field ordering to match SQL schema. Also corrects documentation grammar issues.
- Adds
isDatasetDownloadablefield toDatasetSearchQueryBuilderto match existing dataset schema - Reorders field properties to align with SQL schema structure
- Fixes grammatical errors in
UnifiedResourceSchemadocstring
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| UnifiedResourceSchema.scala | Adds isDatasetDownloadable parameter, reorders field mappings to match SQL schema, and fixes docstring grammar |
| DatasetSearchQueryBuilder.scala | Adds isDatasetDownloadable field and reorders did field to match schema ordering |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@AnzhiZhang : following our practice, please create an issue to describe the problem we want to solve, then use this PR to close the issue. Also the subject of this PR is not clear enough. After you make these changes, I will review them again. |
isDatasetDownloadable and fix field order & docstring consistency to dataset query
isDatasetDownloadable and fix field order & docstring consistency to dataset query
@chenlica Done. |
|
@seongjinyoon Can you review it? |
|
@AnzhiZhang , could you explain as to why we need |
I saw we have other dataset fields e.g. Before:
After:
|
|
LGTM. The implementation correctly fixes the issue. |
|
@aglinxinyuan please review it. @seongjinyoon already reviewed it and approved it. For some reason I cannot add him as a reviewer. I removed myself from the reviewer list. |
…ataset query (apache#3723) fixes apache#3727 --------- Co-authored-by: Xinyuan Lin <xinyual3@uci.edu>
…ataset query (apache#3723) fixes apache#3727 --------- Co-authored-by: Xinyuan Lin <xinyual3@uci.edu>


fixes #3727