arkouda
arkouda copied to clipboard
Reduce code duplication in Parquet read code with templates
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.