[CARBONDATA-4317] Fix TPCDS performance issues