Skip to content

Feature remove duckdb dependencies and fix some bugs#1307

Open
B3377596 wants to merge 5 commits intopixelsdb:masterfrom
B3377596:feature-remove-duckdb-dependencies
Open

Feature remove duckdb dependencies and fix some bugs#1307
B3377596 wants to merge 5 commits intopixelsdb:masterfrom
B3377596:feature-remove-duckdb-dependencies

Conversation

@B3377596
Copy link
Copy Markdown

static constexpr const TableFilterType TYPE = TableFilterType::CONSTANT_COMPARISON;

public:
// 使用 std::move 处理可能存在的字符串拷贝
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use English in comments.

@@ -0,0 +1,45 @@
#pragma once
namespace pixels{
//仿照duckdb的比较符结构体,每个结构体都有一个静态函数Operation,接受两个参数,返回比较结果。PixelsFilter.cpp中会调用这个函数来进行过滤操作。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use English in comments.

@@ -0,0 +1,41 @@
#pragma once
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add license header in front of all of the new source files:

/*
 * Copyright 2026 PixelsDB.
 *
 * This file is part of Pixels.
 *
 * Pixels is free software: you can redistribute it and/or modify
 * it under the terms of the Affero GNU General Public License as
 * published by the Free Software Foundation, either version 3 of
 * the License, or (at your option) any later version.
 *
 * Pixels is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * Affero GNU General Public License for more details.
 *
 * You should have received a copy of the Affero GNU General Public
 * License along with Pixels.  If not, see
 * <https://www.gnu.org/licenses/>.
 */

duckdb::TableFilterSet *filter;
// TODO: pixelsPredicate
pixels::TableFilterSet filter;
//修改:不再依赖 duckdb 类型,不过看来原项目的主人是想要设计一套自己的谓词系统的
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove AI-generated content that has no meaning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants