jiacai2050 commented on code in PR #1594:
URL: https://github.com/apache/horaedb/pull/1594#discussion_r1856230053
##########
src/table_engine/src/partition/rule/df_adapter/mod.rs:
##########
@@ -16,21 +16,30 @@
// under the License.
//! Partition rule datafusion adapter
+use std::collections::{BTreeSet, HashMap};
use common_types::{row::RowGroup, schema::Schema};
use datafusion::logical_expr::Expr;
use self::extractor::{KeyExtractor, NoopExtractor};
use crate::partition::{
rule::{
- df_adapter::extractor::FilterExtractorRef,
factory::PartitionRuleFactory, PartitionRulePtr,
- PartitionedRows,
+ df_adapter::extractor::FilterExtractorRef,
factory::PartitionRuleFactory,
+ filter::PartitionFilter, PartitionRulePtr, PartitionedRows,
},
BuildPartitionRule, PartitionInfo, Result,
};
mod extractor;
+pub type PartitionId = usize; // partiton number (id)
Review Comment:
👍 for comments
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]