changxue created IOTDB-5469:
-------------------------------
Summary: [template]create template with backquote characters
successfully but get schema info failed
Key: IOTDB-5469
URL: https://issues.apache.org/jira/browse/IOTDB-5469
Project: Apache IoTDB
Issue Type: Bug
Components: Core/Schema Manager
Affects Versions: 1.1.0
Reporter: changxue
Assignee: Yukun Zhou
[template]create template with backquote characters successfully but get schema
info failed
reproduction
1. create a template named `123`
2.
{code}
IoTDB> show schema templates
+------------+
|TemplateName|
+------------+
| `123`|
| c|
| _start|
| _Start|
+------------+
Total line number = 4
It costs 0.018s
IoTDB> show nodes in schema template `123`
Msg: 305: org.apache.iotdb.commons.exception.IoTDBException: get template info
error.
{code}
datanode logs:
{code}
2023-02-03 17:08:08,488 [pool-21-IoTDB-MPPCoordinator-12] WARN
o.a.i.d.m.p.e.c.ConfigExecution:131 - Failures happened during running
ConfigExecution.
java.lang.RuntimeException: org.apache.iotdb.commons.exception.IoTDBException:
get template info error.
at
org.apache.iotdb.db.metadata.template.ClusterTemplateManager.getTemplate(ClusterTemplateManager.java:173)
at
org.apache.iotdb.db.mpp.plan.execution.config.executor.ClusterConfigTaskExecutor.showNodesInSchemaTemplate(ClusterConfigTaskExecutor.java:997)
at
org.apache.iotdb.db.mpp.plan.execution.config.metadata.template.ShowNodesInSchemaTemplateTask.execute(ShowNodesInSchemaTemplateTask.java:56)
at
org.apache.iotdb.db.mpp.plan.execution.config.ConfigExecution.start(ConfigExecution.java:106)
at
org.apache.iotdb.db.mpp.plan.Coordinator.execute(Coordinator.java:153)
at
org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementInternal(ClientRPCServiceImpl.java:218)
at
org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementV2(ClientRPCServiceImpl.java:476)
at
org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3629)
at
org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3609)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
at
org.apache.iotdb.db.service.thrift.ProcessorWithMetrics.process(ProcessorWithMetrics.java:64)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Caused by: org.apache.iotdb.commons.exception.IoTDBException: get template info
error.
... 15 common frames omitted
{code}
expect:
If a template was created successfully , then we ought to make it useful in
out system.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)