You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Eric Pai (Jira)" <ji...@apache.org> on 2021/12/13 08:41:00 UTC

[jira] [Created] (IOTDB-2137) Incorrect column number in UDTFDataSet

Eric Pai created IOTDB-2137:
-------------------------------

             Summary: Incorrect column number in UDTFDataSet
                 Key: IOTDB-2137
                 URL: https://issues.apache.org/jira/browse/IOTDB-2137
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Query
            Reporter: Eric Pai
            Assignee: Eric Pai
             Fix For: master branch


There's a method: 

QueryDataSet.getColumnNum() which returns the amount of columns in a query set.

The default implentation is to count the original paths in the input. However, in a UDTF query, the column is related to the expressions list, not the raw timeseries path.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)