mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-29 19:30:37 +00:00
fix: use label value as table name
This commit is contained in:
@@ -320,10 +320,10 @@ impl PrimaryKeyEncoder {
|
||||
None => {
|
||||
let table_info = self
|
||||
.table_helper
|
||||
.get_table(&self.catalog, &self.schema, &name_label.name)
|
||||
.get_table(&self.catalog, &self.schema, &name_label.value)
|
||||
.await?
|
||||
.context(MissingTableSnafu {
|
||||
table_name: &name_label.name,
|
||||
table_name: &name_label.value,
|
||||
})?;
|
||||
let id = table_info.table_info.ident.table_id;
|
||||
self.table_ids.insert(name_label.name.clone(), id);
|
||||
|
||||
Reference in New Issue
Block a user