Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2349

An exception should be thrown when aggregate function and data type do not match

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.13.0-SNAPSHOT
    • None
    • Others
    • 2022-1-Tian

    Description

      Hi IoTDBers,

       When I usingiotdb-cli in master branch,I hava a confuse.

      First, I have many timeseries in my IoTDB,

      Second, I use SQL: select min_value(s_1) from root.test.g_0.d_0 group by ([now() - 80s, now()), 10s) ,I got a result set like below:

      But If I use SQL : select min_value(s_1) from root.test.g_0.d_0 (wtihout group by), I got an error meaasge:

      Please help us to check this.Which one is right.

      Thanks.

      B.R.

       

      Attachments

        1. image-2022-01-11-14-58-08-567.png
          4 kB
          FengQingxin
        2. image-2022-01-11-14-57-11-628.png
          17 kB
          FengQingxin
        3. image-2022-01-11-14-56-10-138.png
          63 kB
          FengQingxin

        Issue Links

          Activity

            People

              liuminghui Minghui Liu
              QX.Feng FengQingxin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: