You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cli): add keyColumn option for CSV buckets with duplicate key validation (#2076)
* feat(cli): add keyColumn option for CSV loaders and update related commands
* chore: add changeset for csv keyColumn feature
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(cli): handle empty CSV and sparse first-row edge cases in key column validation
- Use split(/\r?\n/) with trim check instead of non-null assertion for empty CSV safety
- Parse header row separately (to_line: 1) for column validation to avoid
missing columns when first data row is sparse with relax_column_count_less
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(cli): add keyColumn configuration to CSV i18n settings
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
feat(cli): add `keyColumn` option for CSV buckets to specify which column is the unique row identifier, and validate key uniqueness to prevent silent data loss from duplicate keys
0 commit comments