enhancement - refactor compute output expression on root fragment in nereids planner - refactor aggregate plan translator - refactor aggregate disassemble rule - slightly refactor sort plan translator - add exchange node on the top of plan node tree if it is needed - slightly refactor PhysicalPlanTranslator#translatePlan fix - slotDescriptor should not reuse between TupleDescriptors - expression's nullable now works fine - remove quotes when parse string literal - set resolvedTupleExprs in SortNode to control output - remove the extra column in sortTupleSlotExprs in SortInfo known issues - aggregate function must be the top expression in output expression (need project in ExecNode in BE) - first phase aggregate could not convert to stream mode. - OlapScanNode do not set data partition - Sort could not process expression like 'order by a + 1' and SortInfo generated in a trick way and should be refactor when we want to support 'order by a + 1' - column prune do not work as expected
Usage
These scripts are used to make ssb and ssb flat test.
The ssb flat data comes from ssb tables by way of 'INSERT INTO ... SELECT ...',
which means ssb test steps 1 to 4 should have been done before loading ssb flat data.
ssb test, follow the steps below:
1. build ssb dbgen tool.
./build-ssb-dbgen.sh
2. generate ssb data. use -h for more infomations.
./gen-ssb-data.sh -s 1
3. create ssb tables. modify doris-cluster.conf to specify doris info, then run script below.
./create-ssb-tables.sh
4. load ssb data. use -h for help.
./load-ssb-dimension-data.sh
./load-ssb-fact-data.sh
5. run ssb queries.
./run-ssb-queries.sh
ssb flat test, follow the steps below:
1. prepare ssb data, which means ssb test steps 1 to 4 have been done.
2. create ssb flat table in the same database of ssb tables.
./create-ssb-flat-table.sh
3. load ssb flat data.
./load-ssb-flat-data.sh
4. run ssb flat queries.
./run-ssb-flat-queries.sh