Skip to content

Commit 8abe0c9

Browse files
committed
[native] split protocol header
Split presto_protocol.h into multiple connector-specific headers to improve extensibility. Use presto_protocol_core.h for non-connector code
1 parent d384cca commit 8abe0c9

File tree

102 files changed

+19713
-17993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+19713
-17993
lines changed

presto-native-execution/presto_cpp/main/PeriodicHeartbeatManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#pragma once
1515

1616
#include "presto_cpp/main/PeriodicServiceInventoryManager.h"
17-
#include "presto_cpp/presto_protocol/presto_protocol.h"
17+
#include "presto_cpp/presto_protocol/core/presto_protocol_core.h"
1818

1919
namespace facebook::presto {
2020

presto-native-execution/presto_cpp/main/PrestoTask.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <memory>
1717
#include "presto_cpp/main/http/HttpServer.h"
1818
#include "presto_cpp/main/types/PrestoTaskId.h"
19-
#include "presto_cpp/presto_protocol/presto_protocol.h"
19+
#include "presto_cpp/presto_protocol/core/presto_protocol_core.h"
2020
#include "velox/exec/Task.h"
2121

2222
namespace facebook::velox {

presto-native-execution/presto_cpp/main/QueryContextManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <unordered_map>
2121

2222
#include "presto_cpp/main/SessionProperties.h"
23-
#include "presto_cpp/presto_protocol/presto_protocol.h"
23+
#include "presto_cpp/presto_protocol/core/presto_protocol_core.h"
2424
#include "velox/core/QueryCtx.h"
2525

2626
namespace facebook::presto {

presto-native-execution/presto_cpp/main/TaskManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "presto_cpp/main/PrestoTask.h"
1919
#include "presto_cpp/main/QueryContextManager.h"
2020
#include "presto_cpp/main/http/HttpServer.h"
21-
#include "presto_cpp/presto_protocol/presto_protocol.h"
21+
#include "presto_cpp/presto_protocol/core/presto_protocol_core.h"
2222
#include "velox/exec/OutputBufferManager.h"
2323

2424
namespace facebook::presto {

presto-native-execution/presto_cpp/main/common/Exception.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#pragma once
1515

1616
#include <unordered_map>
17-
#include "presto_cpp/presto_protocol/presto_protocol.h"
17+
#include "presto_cpp/presto_protocol/core/presto_protocol_core.h"
1818
#include "velox/common/base/VeloxException.h"
1919

2020
namespace std {

presto-native-execution/presto_cpp/main/common/Utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#pragma once
1515
#include <folly/io/async/SSLContext.h>
1616
#include <glog/logging.h>
17-
#include "presto_cpp/presto_protocol/presto_protocol.h"
17+
#include "presto_cpp/presto_protocol/core/presto_protocol_core.h"
1818

1919
namespace facebook::presto::util {
2020

presto-native-execution/presto_cpp/main/tests/TaskManagerTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class TaskManagerTest : public testing::Test {
357357
protocol::ScheduledSplit makeSplit(
358358
const std::string& filePath,
359359
long sequenceId) {
360-
auto hiveSplit = std::make_shared<protocol::HiveSplit>();
360+
auto hiveSplit = std::make_shared<protocol::hive::HiveSplit>();
361361
hiveSplit->fileSplit.path = filePath;
362362
hiveSplit->storage.storageFormat.inputFormat =
363363
"com.facebook.hive.orc.OrcInputFormat";

presto-native-execution/presto_cpp/main/thrift/ProtocolToThrift.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)