arkouda icon indicating copy to clipboard operation
arkouda copied to clipboard

Reduce code duplication in Parquet read code with templates

Open bmcdonald3 opened this issue 8 months ago • 0 comments

The Parquet code previously had been duplicating blocks of code with only changing the types. To reduce this duplication to improve readability and maintainability, template functions are being added in place of the duplicate code.

This reduces the readColumnByName function from 198 lines to 100 lines, so about 50% reduction in function size.

Additionally, since the code is no longer duplicated, changes won't need to be put in multiple places.

bmcdonald3 avatar Jun 25 '24 22:06 bmcdonald3