Skip to content

RDC compression for sas7bdat writes - #433

Merged
evanmiller merged 1 commit into
WizardMac:devfrom
hpoettker:rdc-compression
Nov 11, 2026
Merged

evanmiller merged 1 commit into
WizardMac:devfrom
hpoettker:rdc-compression

Conversation

@hpoettker

Copy link
Copy Markdown
Contributor

Summary

This is a follow-up on #432. It adds RDC compression to the sas7bdat writer, and also addresses some corner cases in the COMP page.

The RDC compression has been implemented to closely match the RLE compression. In particular, the RDC code now lives in a new file, src/sas/readstat_sas_rdc.{c,h}, which both the reader and the writer use.

Testing

The validation has been mainly manual on a similar test corpus as #432.

The test coverage of the RDC compression corresponds to the coverage of the RLE compression: It's implicitly tested in the round-trip tests.

Fuzzing

There is a fuzzing target for RLE (fuzz_compression_sas_rle.c) in the repo but I don't see it being invoked by this build or the OSS-Fuzz build. I haven't added a corresponding target for RDC. If something should be done in this regard, please let me know.

@evanmiller
evanmiller merged commit f1f6826 into WizardMac:dev Nov 11, 2026
14 checks passed
@hpoettker
hpoettker deleted the rdc-compression branch November 11, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants