This PR enhances the handling of lookup tables by introducing the extract_lookups() function early in decompose_lookups_as_function(). This change consolidates previously repeated code into a single, efficient operation. This function utilizes HashSet to remove duplicate rows and improves the detection and storage of equivalent lookups within the LookupTable struct enhancing performance and maintainability.
This PR enhances the handling of lookup tables by introducing the
extract_lookups()
function early indecompose_lookups_as_function()
. This change consolidates previously repeated code into a single, efficient operation. This function utilizesHashSet
to remove duplicate rows and improves the detection and storage of equivalent lookups within theLookupTable
struct enhancing performance and maintainability.