[
https://issues.apache.org/jira/browse/IOTDB-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283664#comment-17283664
]
lvshuang commented on IOTDB-1135:
---------------------------------
I have debug to org.apache.iotdb.db.metadata.MTree#getCount, found this method
terminal condition is if node is MeasurementMNode, then return 1.
in this report, "tdouble" is MeasurementMNode, trigger terminal condition, not
traverse it's children, so return 1.
I want to solve this bug, please assign to me and anyone could help me?
> count timeseries prefix path bug
> --------------------------------
>
> Key: IOTDB-1135
> URL: https://issues.apache.org/jira/browse/IOTDB-1135
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Engine
> Reporter: Haimei Guo
> Priority: Major
>
> when create timeseries with same <prefix path>, then execute count timeseries
> <prefix path>. the result is incorrect.
> IoTDB> show timeseries root.ln.wf.wt.tdouble
> |timeseries|alias|storage group|dataType|encoding|compression|tags|attributes|
> |root.ln.wf.wt.tdouble|null|root.ln|INT32|RLE|SNAPPY|null|null|
> |root.ln.wf.wt.tdouble.tdouble1|null|root.ln|INT32|RLE|SNAPPY|null|null|
> |root.ln.wf.wt.tdouble.tdouble|null|root.ln|INT32|RLE|SNAPPY|null|null|
> Total line number = 3
>
> IoTDB> count timeseries root.ln.wf.wt.tdouble
> |count|
> |1|
> Total line number = 1
--
This message was sent by Atlassian Jira
(v8.3.4#803005)