test(qwp): assert proper treatment of empty and NULL arrays on egress#7276
test(qwp): assert proper treatment of empty and NULL arrays on egress#7276mtopolnik wants to merge 5 commits into
Conversation
QwpEgressBootstrapTest.testEmptyAndNullArrayColumns ingests a regular, an
empty, and a NULL DOUBLE[] into a booted server and reads them back via
QwpQueryClient, asserting the empty array round-trips as a non-null
0-element value distinct from NULL. Without the matching decoder fix this
test reproduces the egress rejection ("ARRAY dim 0 must be >= 1: 0").
Bumps the java-questdb-client submodule to the empty-array decoder fix.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Review: PR #7276Level 2. Scope: one new test method in The code is essentially correct. The decoder fix is sound, the test exercises real server behavior, and resource handling is clean. CriticalNone. MinorM1 —
|
[PR Coverage check]😍 pass : 5 / 8 (62.50%) file detail
|
|
/azp run macwin |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run macwin |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run macwin |
|
Azure Pipelines successfully started running 1 pipeline(s). |
What
Bug discovered in Java client: it didn't accept empty arrays from server on egress. The tandem PR in client repo addresses that. This PR contributes an end-to-end test for the behavior, and must also bump the client module pointer to the
mainbranch after merging that PR.Changes
QwpEgressBootstrapTest.testEmptyAndNullArrayColumns: ingest a regular, an empty (ARRAY[]), and a NULLDOUBLE[]into a booted server and read them back viaQwpQueryClient, asserting the empty array decodes as a non-null 0-element value distinct from NULL. Without the decoder fix this reproduces the egress rejection (ARRAY dim 0 must be >= 1: 0).