Bikramjeet Vig has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14941
Change subject: IMPALA-4192: Move static state from DataSink into a DataSinkConfig ...................................................................... IMPALA-4192: Move static state from DataSink into a DataSinkConfig This patch adds a new class called DataSinkConfig which contains a subset of the static state of their corresponding DataSink, of which there is one instance per fragment. DataSink contains the runtime state and there can be up to MT_DOP instances of it per fragment. Eventually all static state including codegened function pointers would be moved to the PlanNodes. Testing: TODO: Run exhaustive tests successfully. Change-Id: I8d5b4226f6cec5305b0ec9a25c5f18b5521c8dd2 --- M be/src/exec/blocking-plan-root-sink.cc M be/src/exec/blocking-plan-root-sink.h M be/src/exec/buffered-plan-root-sink.cc M be/src/exec/buffered-plan-root-sink.h M be/src/exec/data-sink.cc M be/src/exec/data-sink.h M be/src/exec/hbase-table-sink.cc M be/src/exec/hbase-table-sink.h M be/src/exec/hdfs-table-sink.cc M be/src/exec/hdfs-table-sink.h M be/src/exec/kudu-table-sink.cc M be/src/exec/kudu-table-sink.h M be/src/exec/nested-loop-join-builder.cc M be/src/exec/nested-loop-join-builder.h M be/src/exec/nested-loop-join-node.cc M be/src/exec/nested-loop-join-node.h M be/src/exec/partitioned-hash-join-builder.cc M be/src/exec/partitioned-hash-join-builder.h M be/src/exec/partitioned-hash-join-node.cc M be/src/exec/partitioned-hash-join-node.h M be/src/exec/plan-root-sink.cc M be/src/exec/plan-root-sink.h M be/src/runtime/fragment-instance-state.cc M be/src/runtime/fragment-instance-state.h M be/src/runtime/krpc-data-stream-sender.cc M be/src/runtime/krpc-data-stream-sender.h 26 files changed, 447 insertions(+), 235 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/41/14941/1 -- To view, visit http://gerrit.cloudera.org:8080/14941 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8d5b4226f6cec5305b0ec9a25c5f18b5521c8dd2 Gerrit-Change-Number: 14941 Gerrit-PatchSet: 1 Gerrit-Owner: Bikramjeet Vig <[email protected]>
