crate / crate/crate-qa

Add exhaustive ingestion tests

Open
#270 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5
Forks
2
Avg merge
7h 45m
Merged PRs (30d)
3

Description

To improve our test coverage we should add ingestion tests, that cover somehow "exhaustively" combinations for table setup. Implement code to generate tables with all DDL permutations for:

- [ ] Data types
- [ ] Each type as a top level and some deep leaf column
- [ ] Column option like index, columnar store,
- [ ] Generated columns
- [ ] Primary key definitions
- [ ] Constraints (also involving references to other columns)
- [ ] Partition by
- [ ] Test with NULLs, provided, completely excluded values
- [ ] Ensure recovery from translog path is hit
- [ ] Test INSERT INTO VALUES, INSERT FROM (SELECT ...), INSERT ... ON CONFLICT, etc.

- Think (and maybe test), to check different code paths, to narrow down combinations and avoid exploding the number of permutations.
- Make sure the exact configuration and insert stmt is exposed in case of failure for easily debugging.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.