mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-05 21:02:58 +00:00
* wip: fix compile errors * chore: move splitter to partition crate * fix: remove useless variants in frontend errors * chore: move more partition related code to partition manager * fix: license header * wip: move WriteSplitter to PartitionRuleManager * fix: clippy warnings * chore: remove useless error variant and format toml * fix: cr comments * chore: resolve conflicts * chore: rebase develop * fix: cr comments * feat: support multi regions on datanode * chore: rebase onto develop * chore: rebase develop * chore: rebase develop * wip * fix: compile errors * feat: multi region * fix: CR comments * feat: allow stat existing regions without actually open it * fix: use table meta in manifest to recover region info
23 lines
800 B
Rust
23 lines
800 B
Rust
// Copyright 2023 Greptime Team
|
|
//
|
|
// 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
|
|
//
|
|
// http://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.
|
|
|
|
pub mod consts;
|
|
pub mod error;
|
|
|
|
/// Formats table fully-qualified name
|
|
#[inline]
|
|
pub fn format_full_table_name(catalog: &str, schema: &str, table: &str) -> String {
|
|
format!("{catalog}.{schema}.{table}")
|
|
}
|