Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions be/module_boundary_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
"allowed_include_prefixes": ["fs/", "io/", "common/", "base/", "gutil/", "gen_cpp/"],
"forbidden_include_prefixes": ["fs/azure/", "fs/credential/", "fs/hdfs/", "fs/s3/"],
"forbidden_includes": [
"fs/fs_broker.h",
"fs/fs_options_helper.h",
"fs/fs_s3.h",
"fs/key_cache.h",
Expand Down Expand Up @@ -307,7 +306,6 @@
"runtime/hive_table_sink.h",
"runtime/iceberg_table_sink.h",
"runtime/jdbc_driver_manager.h",
"runtime/lake_snapshot_loader.h",
"runtime/lake_tablets_channel.h",
"runtime/load_channel.h",
"runtime/load_channel_mgr.h",
Expand All @@ -324,7 +322,6 @@
"runtime/result_sink.h",
"runtime/schema_table_sink.h",
"runtime/small_file_mgr.h",
"runtime/snapshot_loader.h",
"runtime/table_function_table_sink.h",
"runtime/tablets_channel.h",
"runtime/variable_result_writer.h"
Expand Down
2 changes: 1 addition & 1 deletion be/src/agent/agent_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
#include "data_workflows/consistency/engine_checksum_task.h"
#include "data_workflows/migration/engine_storage_migration_task.h"
#include "data_workflows/schema_change/engine_alter_tablet_task.h"
#include "data_workflows/snapshot/snapshot_loader.h"
#include "gutil/strings/join.h"
#include "io/io_profiler.h"
#include "runtime/current_thread.h"
#include "runtime/exec_env.h"
#include "runtime/snapshot_loader.h"
#include "storage/lake/replication_txn_manager.h"
#include "storage/lake/schema_change.h"
#include "storage/lake/tablet_manager.h"
Expand Down
1 change: 0 additions & 1 deletion be/src/agent/task_worker_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
#include "gen_cpp/Types_types.h"
#include "runtime/current_thread.h"
#include "runtime/exec_env.h"
#include "runtime/snapshot_loader.h"
#include "storage/data_dir.h"
#include "storage/lake/tablet_manager.h"
#include "storage/primitive/storage_ids.h"
Expand Down
3 changes: 3 additions & 0 deletions be/src/data_workflows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ set(DATA_WORKFLOWS_FILES
load/tablet_writer/local_tablets_channel.cpp
load/tablet_writer/tablets_channel.cpp
migration/engine_storage_migration_task.cpp
snapshot/lake_snapshot_loader.cpp
snapshot/snapshot_loader.cpp
schema_change/engine_alter_tablet_task.cpp
)

Expand All @@ -42,6 +44,7 @@ target_link_libraries(DataWorkflows PUBLIC
Exec
Runtime
StoragePrimitive
Platform
Common
Base
Gutil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <runtime/lake_snapshot_loader.h>
#include "data_workflows/snapshot/lake_snapshot_loader.h"

#include "base/container/raw_container.h"
#include "base/network/network_util.h"
#include "common/config_rpc_client_fwd.h"
#include "fs/fs_broker.h"
#include "data_workflows/snapshot/snapshot_loader.h"
#include "fs/fs_util.h"
#include "gen_cpp/TFileBrokerService.h"
#include "gen_cpp/lake_service.pb.h"
#include "platform/fs_broker.h"
#include "runtime/exec_env.h"
#include "runtime/snapshot_loader.h"
#include "storage/lake/filenames.h"
#include "storage/lake/lake_proto_normalizer.h"
#include "storage/lake/tablet.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// specific language governing permissions and limitations
// under the License.

#include "runtime/snapshot_loader.h"
#include "data_workflows/snapshot/snapshot_loader.h"

#include <cstdint>
#include <filesystem>
Expand All @@ -43,7 +43,6 @@
#include "common/logging.h"
#include "common/system/master_info.h"
#include "fs/fs.h"
#include "fs/fs_broker.h"
#include "fs/fs_factory.h"
#include "fs/fs_util.h"
#include "gen_cpp/FileBrokerService_types.h"
Expand All @@ -52,6 +51,7 @@
#include "gen_cpp/HeartbeatService_types.h"
#include "gen_cpp/TFileBrokerService.h"
#include "platform/broker_mgr.h"
#include "platform/fs_broker.h"
#include "runtime/exec_env.h"
#include "storage/index/index_descriptor.h"
#ifndef __APPLE__
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2021-present StarRocks, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
Expand Down
2 changes: 1 addition & 1 deletion be/src/exec/data_sinks/export_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
#include "exprs/expr.h"
#include "exprs/expr_executor.h"
#include "exprs/expr_factory.h"
#include "fs/fs_broker.h"
#include "fs/fs_factory.h"
#include "gutil/strings/substitute.h"
#include "platform/fs_broker.h"
#include "runtime/exec_env.h"
#include "runtime/runtime_state.h"

Expand Down
2 changes: 1 addition & 1 deletion be/src/exec/data_sinks/file_result_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
#include "exec/plain_text_builder.h"
#include "formats/csv/converter.h"
#include "formats/io/formatted_output_stream.h"
#include "fs/fs_broker.h"
#include "fs/fs_factory.h"
#include "gutil/strings/substitute.h"
#include "platform/fs_broker.h"
#include "runtime/runtime_state.h"

namespace starrocks {
Expand Down
2 changes: 1 addition & 1 deletion be/src/exec/file_scanner/file_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
#include "exprs/expr_executor.h"
#include "exprs/expr_factory.h"
#include "fs/fs.h"
#include "fs/fs_broker.h"
#include "fs/fs_factory.h"
#include "gutil/strings/substitute.h"
#include "io/compressed_input_stream.h"
#include "platform/fs_broker.h"
#include "runtime/descriptors.h"
#include "runtime/exec_env.h"
#include "runtime/runtime_state.h"
Expand Down
1 change: 0 additions & 1 deletion be/src/exec/file_scanner/parquet_scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "compute_env/load_path/rejected_record_writer.h"
#include "exprs/cast_expr.h"
#include "exprs/column_ref.h"
#include "fs/fs_broker.h"
#include "rapidjson/document.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
Expand Down
2 changes: 1 addition & 1 deletion be/src/exec/pipeline/sink/export_sink_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
#include "exprs/expr_factory.h"
#include "formats/csv/converter.h"
#include "formats/io/formatted_output_stream.h"
#include "fs/fs_broker.h"
#include "fs/fs_factory.h"
#include "platform/fs_broker.h"
#include "runtime/runtime_state.h"

namespace starrocks::pipeline {
Expand Down
1 change: 0 additions & 1 deletion be/src/fs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ target_link_libraries(FSCore PUBLIC IO)
set(EXEC_FILES
fs_provider_bootstrap.cpp
fs_options_helper.cpp
fs_broker.cpp
fs_s3.cpp
azure/azblob_uri.cpp
azure/fs_azblob.cpp
Expand Down
1 change: 1 addition & 0 deletions be/src/platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ set(PLATFORM_FILES
aws/poco_common.cpp
aws/poco_http_client.cpp
aws/poco_http_client_factory.cpp
fs_broker.cpp
broker_mgr.cpp
download_util.cpp
key_cache.cpp
Expand Down
2 changes: 1 addition & 1 deletion be/src/fs/fs_broker.cpp → be/src/platform/fs_broker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "fs/fs_broker.h"
#include "platform/fs_broker.h"

#include <fmt/format.h>

Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions be/src/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ set(RUNTIME_FILES
runtime_state_helper.cpp
rejected_record_sync_daemon.cpp
fragment_mgr.cpp
snapshot_loader.cpp
stream_load/transaction_mgr.cpp
stream_load/stream_load_executor.cpp
batch_write/isomorphic_batch_write.cpp
Expand All @@ -105,7 +104,6 @@ set(RUNTIME_FILES
external_scan_context_mgr.cpp
runtime_filter_worker.cpp
runtime_filter_serde.cpp
lake_snapshot_loader.cpp
command_executor.cpp
diagnose_daemon.cpp
)
Expand Down
2 changes: 1 addition & 1 deletion be/src/service/service_be/lake_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
#include "common/thread/thread.h"
#include "common/thread/threadpool.h"
#include "data_workflows/load/tablet_writer/load_channel_mgr.h"
#include "data_workflows/snapshot/lake_snapshot_loader.h"
#include "exec/write_combined_txn_log.h"
#include "fs/fs_factory.h"
#include "fs/fs_util.h"
#include "gen_cpp/tablet_schema.pb.h"
#include "gutil/strings/join.h"
#include "runtime/exec_env.h"
#include "runtime/lake_snapshot_loader.h"
#include "storage/lake/compaction_policy.h"
#include "storage/lake/compaction_scheduler.h"
#include "storage/lake/compaction_task.h"
Expand Down
3 changes: 1 addition & 2 deletions be/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ set(EXEC_FILES
./fs/azure/fs_azblob_test.cpp
./fs/azure/utils_test.cpp
./fs/credential/cloud_configuration_factory_test.cpp
./fs/fs_broker_test.cpp
./platform/fs_broker_test.cpp
./fs/fs_hdfs_test.cpp
./fs/fs_posix_test.cpp
./fs/fs_memory_test.cpp
Expand Down Expand Up @@ -270,7 +270,6 @@ set(EXEC_FILES
#./runtime/routine_load_task_executor_test.cpp
./runtime/routine_load/data_consumer_test.cpp
./runtime/small_file_mgr_test.cpp
./runtime/snapshot_loader_test.cpp
./compute_env/load/time_bounded_stream_load_pipe_test.cpp
./runtime/merge_cascade_test.cpp
./exec/data_sinks/memory_scratch_sink_test_issue_8676.cpp
Expand Down
1 change: 1 addition & 0 deletions be/test/data_workflows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ set(DATA_WORKFLOWS_TEST_FILES
load/tablet_writer/load_channel_test.cpp
load/tablet_writer/local_tablets_channel_test.cpp
push_handler_test.cpp
snapshot/snapshot_loader_test.cpp
)

add_library(starrocks_data_workflows_test_objs OBJECT ${DATA_WORKFLOWS_TEST_FILES})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define private public // hack complier
#define protected public

#include "runtime/snapshot_loader.h"
#include "data_workflows/snapshot/snapshot_loader.h"

#undef protected
#undef private
Expand Down
1 change: 1 addition & 0 deletions be/test/platform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
set(PLATFORM_TEST_FILES
../base/cxa_throw_wrap.cpp
download_util_test.cpp
fs_broker_test.cpp
key_cache_test.cpp
llm/llm_cache_test.cpp
llm/model_config_test.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include "fs/fs_broker.h"
#include "platform/fs_broker.h"

#include <brpc/uri.h>
#include <gtest/gtest.h>
Expand Down
Loading