-
[OPIK-4471] [BE] Add description field to dataset items (#5259)
发布于
2026-02-19 20:21:16 +00:00 - [OPIK-4471] [BE] Add description field to dataset items
Add description String field to dataset_item_versions table with
xxHash64-based description_hash for version diff detection. Supports
create, get, update (edit + batch update) operations.Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
- [OPIK-4471] [BE] Fix rollback order in migration 059
Drop materialized description_hash column before description to avoid
CANNOT_DROP_COLUMN error from ClickHouse dependency check.Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
- [OPIK-4471] [BE] Fix missing description in dataset_items_resolved CTE
Add div_dedup.description to the dataset_items_resolved CTE used by
the experiment items query, fixing ClickHouse "Unknown column" error
when the outer SELECT/GROUP BY references di.description.Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
- [OPIK-4471] [BE] Address PR review: null-not-blank validation and full object assertion
- Add @Pattern(NULL_OR_NOT_BLANK) validation to description field in
DatasetItem, DatasetItemEdit, and DatasetItemUpdate (rejects empty/blank
strings, allows null) - Update test to validate the full returned object using
usingRecursiveComparison instead of only asserting the description field
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com
Co-authored-by: Claude Opus 4.6 noreply@anthropic.com
下载附件