Repository navigation
feat: field filtering and priority classification - #1835
Conversation
- deltaChartUtils: add stripTypeWrappers, isIdField, isTimestampArrayField, isDenylisted, isHighCardinality classification functions - getPropertyStatistics now also returns propertyOccurences and valueOccurences (needed for cardinality detection) - DBDeltaChart: split properties into visible (primary) and hidden (denylisted + high cardinality) with two separate CSS grids - Row-based pagination: hidden fields always start from column 1 - "Lower-priority fields (N)" divider between sections - Tests: 29 unit tests covering all classification functions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 4e8b4d6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
E2E Test Results✅ All tests passed • 77 passed • 4 skipped • 905s
Tests ran across 4 shards in parallel. |
|
Claude finished @teeohhem's task in 1m 55s —— View job PR Review: feat: field filtering and priority classification✅ No critical issues found. The implementation is clean, well-tested, and follows project patterns. A few minor observations:
|
Address review feedback: - Extract duplicated colName parsing into getBaseColumnName() helper - Add unit tests for the new helper (4 tests) - Add missing changeset for the PR Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude finished @alex-fedotyev's task in 30s —— View job PR Review: feat: field filtering and priority classification✅ No critical issues found. The previous review's code duplication concern ( Minor observations:
The implementation is clean, well-tested (29 unit tests), and the two-section layout logic with row-based pagination is correct. |
Resolve conflict in deltaChartUtils.ts: keep both applyTopNAggregation (from merged #1834) and field classification helpers (this branch). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Claude finished @alex-fedotyev's task in 58s —— View job PR Review: feat: field filtering and priority classification
✅ No critical issues found. The implementation is clean and well-tested. One minor observation:
Everything else looks good: |
|
Claude finished @alex-fedotyev's task in 1m 17s —— View job
✅ No critical issues found. The One observation carried over from prior reviews that still applies:
The two-section layout, row-based pagination, and 29-test suite are all solid. |
Co-authored-by: Alex Fedotyev <alex@Alexs-CH-Mac.localdomain> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Tom Alexander <teeohhem@gmail.com>
Summary
Closes #1825
deltaChartUtils.ts:stripTypeWrappers()— removesLowCardinality(...)andNullable(...)wrappers from ClickHouse type stringsisIdField()— detects structural ID fields (top-levelStringorArray(String)ending in "Id"/"ID")isTimestampArrayField()— detects per-index timestamp array elements fromArray(DateTime64(...))columnsisDenylisted()— combined: ID fields + timestamp arraysisHighCardinality()— detects fields wheremin(outlierUniqueness, inlierUniqueness) > 0.9with combined sample > 20getPropertyStatisticsnow also returnspropertyOccurencesandvalueOccurences(needed for cardinality detection)DBDeltaChart.tsx:visibleProperties(primary) andhiddenProperties(denylisted + high-cardinality)Test plan
npx jest src/components/__tests__/deltaChartFieldClassification.test.ts— 29 tests pass🤖 Generated with Claude Code