cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
45 stars 12 forks source link

Iss 690-estimate XML filesize without reading whole dataset #719

Closed SFJohnson24 closed 2 weeks ago

SFJohnson24 commented 1 month ago

changed XPT metadata reader to no longer read full dataset and instead read only header, 1 row, and end of file to estimate rows.

Works for edge cases --empty dataframe and small row size. I can provide these datasets to the reviewer as github does not support XPT files and thus I cannot attach them to the PR.