Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not rename columns twice when aggregating dataTable records #7435
We can assume that columns are already renamed if we have already renamed all columns of all dataTables in a map.
This saves 50-200ms when aggregating records (eg when range date is requested) per record. Depending on the dataTables can save even way more time or a bit less.
I just did some profiling on the demo database where the performance benefit is > 1 second (out of 26 seconds total time)