Skip to content

Commit f59efc0

Browse files
committed
refactor: Rename planners to legacy-planners
Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent c3abc4a commit f59efc0

File tree

318 files changed

+593
-593
lines changed

Some content is hidden

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

318 files changed

+593
-593
lines changed

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ members = [
3434
"src/query/pipeline/sinks",
3535
"src/query/pipeline/sources",
3636
"src/query/pipeline/transforms",
37-
"src/query/planners",
37+
"src/query/legacy-planners",
3838
"src/query/settings",
3939
"src/query/storages/fuse",
4040
"src/query/storages/fuse-meta",

src/query/catalog/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ common-datavalues = { path = "../datavalues" }
1717
common-exception = { path = "../../common/exception" }
1818
common-functions = { path = "../functions" }
1919
common-io = { path = "../../common/io" }
20+
common-legacy-planners = { path = "../legacy-planners" }
2021
common-meta-app = { path = "../../meta/app" }
2122
common-meta-types = { path = "../../meta/types" }
2223
common-pipeline-core = { path = "../pipeline/core" }
23-
common-planners = { path = "../planners" }
2424
common-settings = { path = "../settings" }
2525
common-users = { path = "../users" }
2626

src/query/catalog/src/table.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ use common_datavalues::chrono;
2323
use common_datavalues::DataSchemaRef;
2424
use common_exception::ErrorCode;
2525
use common_exception::Result;
26+
use common_legacy_planners::DeletePlan;
27+
use common_legacy_planners::Expression;
28+
use common_legacy_planners::Extras;
29+
use common_legacy_planners::Partitions;
30+
use common_legacy_planners::ReadDataSourcePlan;
31+
use common_legacy_planners::Statistics;
32+
use common_legacy_planners::TruncateTablePlan;
2633
use common_meta_app::schema::TableInfo;
2734
use common_meta_types::MetaId;
2835
use common_pipeline_core::Pipeline;
29-
use common_planners::DeletePlan;
30-
use common_planners::Expression;
31-
use common_planners::Extras;
32-
use common_planners::Partitions;
33-
use common_planners::ReadDataSourcePlan;
34-
use common_planners::Statistics;
35-
use common_planners::TruncateTablePlan;
3636

3737
use crate::table_context::TableContext;
3838
use crate::table_mutator::TableMutator;

src/query/catalog/src/table_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
use common_planners::Expression;
15+
use common_legacy_planners::Expression;
1616

1717
pub type TableArgs = Option<Vec<Expression>>;

src/query/catalog/src/table_context.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ use common_exception::ErrorCode;
2525
use common_exception::Result;
2626
use common_functions::scalars::FunctionContext;
2727
use common_io::prelude::FormatSettings;
28+
use common_legacy_planners::Partitions;
29+
use common_legacy_planners::PlanNode;
30+
use common_legacy_planners::ReadDataSourcePlan;
31+
use common_legacy_planners::Statistics;
2832
use common_meta_types::UserInfo;
29-
use common_planners::Partitions;
30-
use common_planners::PlanNode;
31-
use common_planners::ReadDataSourcePlan;
32-
use common_planners::Statistics;
3333
use common_settings::Settings;
3434
use common_users::UserApiProvider;
3535
use opendal::Operator;

src/query/legacy-parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ test = false
1212
common-datavalues = { path = "../datavalues" }
1313
common-exception = { path = "../../common/exception" }
1414
common-functions = { path = "../functions" }
15-
common-planners = { path = "../planners" }
15+
common-legacy-planners = { path = "../legacy-planners" }
1616

1717
async-trait = "0.1.56"
1818
sqlparser = { git = "https://github.com/datafuse-extras/sqlparser-rs", rev = "7f246e3" }

src/query/legacy-parser/src/analyzer/analyzer_expr_sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use common_datavalues::type_coercion::merge_types;
1818
use common_exception::ErrorCode;
1919
use common_exception::Result;
2020
use common_functions::aggregates::AggregateFunctionFactory;
21-
use common_planners::Expression;
21+
use common_legacy_planners::Expression;
2222
use sqlparser::ast::BinaryOperator;
2323
use sqlparser::ast::DataType as AstDataType;
2424
use sqlparser::ast::DateTimeField;

src/query/legacy-parser/src/analyzer/analyzer_value_expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use common_datavalues::prelude::*;
1616
use common_exception::ErrorCode;
1717
use common_exception::Result;
18-
use common_planners::Expression;
18+
use common_legacy_planners::Expression;
1919
use sqlparser::ast::DateTimeField;
2020
use sqlparser::ast::Value;
2121

src/query/legacy-parser/src/parser/expression_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// limitations under the License.
1414

1515
use common_exception::Result;
16-
use common_planners::Expression;
16+
use common_legacy_planners::Expression;
1717

1818
use crate::analyzer_expr_sync::ExpressionSyncAnalyzer;
1919
use crate::ExprParser;

0 commit comments

Comments
 (0)