[jira] [Commented] (IOTDB-6337) Wrong header in show active metadata when schema is empty.

2024-06-04 Thread yang caiyin (Jira)


[ 
https://issues.apache.org/jira/browse/IOTDB-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852283#comment-17852283
 ] 

yang caiyin commented on IOTDB-6337:


BTW, I found the logic of pushing down count calculation to RegionScan Operator 
is missing. I also support that in this issue.

> Wrong header in show active metadata when schema is empty.
> --
>
> Key: IOTDB-6337
> URL: https://issues.apache.org/jira/browse/IOTDB-6337
> Project: Apache IoTDB
>  Issue Type: Bug
>  Components: Core/Query
>Reporter: yang caiyin
>Assignee: yang caiyin
>Priority: Major
>
> In general metaQuery, if the schema is empty, we may get the following 
> results (/):
> {code:java}
> IoTDB> show timeseries
> +--+-++++---++--++--++
> |Timeseries|Alias|Database|DataType|Encoding|Compression|Tags|Attributes|Deadband|DeadbandParameters|ViewType|
> +--+-++++---++--++--++
> +--+-++++---++--++--++
> IoTDB> show devices
> +--+-++---+
> |Device|IsAligned|Template|TTL|
> +--+-++---+
> +--+-++---+
> IoTDB> count timeseries
> +-+
> |count(timeseries)|
> +-+
> |                0|
> +-+
> IoTDB> count devices
> +--+
> |count(devices)|
> +--+
> |             0|
> +--+
> {code}
> But in active metadata query, we get the following confusing results :(
> {code:java}
> IoTDB> show timeseries where time < 6
> ++
> |Time|
> ++
> ++
> IoTDB> show devices where time < 6
> ++
> |Time|
> ++
> ++
> IoTDB> count timeseries where time < 6
> Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "count timeseries 
> where time < 6". executeStatement failed. null 
> IoTDB> count devices where time < 6
> Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "count devices 
> where time < 6". executeStatement failed. null{code}
> We should fix and unify these. (flag)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[BUILD-UNSTABLE]: Job 'IoTDB/IoTDB-pip-new/master [master] [573]'

2024-06-04 Thread Apache Jenkins Server
BUILD-UNSTABLE: Job 'IoTDB/IoTDB-pip-new/master [master] [573]':

Check console output at "https://ci-builds.apache.org/job/IoTDB/job/IoTDB-pip-new/job/master/573/";>IoTDB/IoTDB-pip-new/master
 [master] [573]"

[jira] [Assigned] (IOTDB-6337) Wrong header in show active metadata when result is empty.

2024-06-04 Thread yang caiyin (Jira)


 [ 
https://issues.apache.org/jira/browse/IOTDB-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

yang caiyin reassigned IOTDB-6337:
--

Assignee: yang caiyin

> Wrong header in show active metadata when result is empty.
> --
>
> Key: IOTDB-6337
> URL: https://issues.apache.org/jira/browse/IOTDB-6337
> Project: Apache IoTDB
>  Issue Type: Bug
>  Components: Core/Query
>Reporter: yang caiyin
>Assignee: yang caiyin
>Priority: Major
>
> In general metaQuery, if the resultSet is empty, we may get the following 
> results (/):
> {code:java}
> IoTDB> show timeseries
> +--+-++++---++--++--++
> |Timeseries|Alias|Database|DataType|Encoding|Compression|Tags|Attributes|Deadband|DeadbandParameters|ViewType|
> +--+-++++---++--++--++
> +--+-++++---++--++--++
> IoTDB> show devices
> +--+-++---+
> |Device|IsAligned|Template|TTL|
> +--+-++---+
> +--+-++---+
> IoTDB> count timeseries
> +-+
> |count(timeseries)|
> +-+
> |                0|
> +-+
> IoTDB> count devices
> +--+
> |count(devices)|
> +--+
> |             0|
> +--+
> {code}
> But in active metadata query, we get the following confusing results :(
> {code:java}
> IoTDB> show timeseries where time < 6
> ++
> |Time|
> ++
> ++
> IoTDB> show devices where time < 6
> ++
> |Time|
> ++
> ++
> IoTDB> count timeseries where time < 6
> Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "count timeseries 
> where time < 6". executeStatement failed. null 
> IoTDB> count devices where time < 6
> Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "count devices 
> where time < 6". executeStatement failed. null{code}
> We should fix and unify these. (flag)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (IOTDB-6337) Wrong header in show active metadata when result is empty.

2024-06-04 Thread yang caiyin (Jira)
yang caiyin created IOTDB-6337:
--

 Summary: Wrong header in show active metadata when result is empty.
 Key: IOTDB-6337
 URL: https://issues.apache.org/jira/browse/IOTDB-6337
 Project: Apache IoTDB
  Issue Type: Bug
  Components: Core/Query
Reporter: yang caiyin


In general metaQuery, if the resultSet is empty, we may get the following 
results (/):
{code:java}
IoTDB> show timeseries
+--+-++++---++--++--++
|Timeseries|Alias|Database|DataType|Encoding|Compression|Tags|Attributes|Deadband|DeadbandParameters|ViewType|
+--+-++++---++--++--++
+--+-++++---++--++--++
IoTDB> show devices
+--+-++---+
|Device|IsAligned|Template|TTL|
+--+-++---+
+--+-++---+
IoTDB> count timeseries
+-+
|count(timeseries)|
+-+
|                0|
+-+
IoTDB> count devices
+--+
|count(devices)|
+--+
|             0|
+--+
{code}
But in active metadata query, we get the following confusing results :(
{code:java}
IoTDB> show timeseries where time < 6
++
|Time|
++
++
IoTDB> show devices where time < 6
++
|Time|
++
++
IoTDB> count timeseries where time < 6
Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "count timeseries 
where time < 6". executeStatement failed. null 
IoTDB> count devices where time < 6
Msg: 305: [INTERNAL_SERVER_ERROR(305)] Exception occurred: "count devices where 
time < 6". executeStatement failed. null{code}
We should fix and unify these. (flag)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)