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

select into view (alias series) : The data type of target path is recognized as BOOLEAN

    XMLWordPrintableJSON

Details

    Description

      iotdb master 0528_84780e2。
      select into 别名序列报错,别名序列的数据类型被识别为BOOLEAN
      drop database root.view;
      drop database root.db;
      create database root.db;
      create database root.view;

      create timeseries root.db.device.s01 with datatype=INT32;
      create timeseries root.db.device.s02 with datatype=INT32;
      CREATE VIEW root.view.device.status AS SELECT s01 FROM root.db.device;
      insert into root.db.device(time,s02) values(1,1);
      select s01,s02 from root.db.device;
      select status from root.view.device;
      select s02 into root.view.device(status) from root.db.device;
      *Msg: 701: The data type of target path (root.view.device.status[BOOLEAN]) is not compatible with the data type of source column (root.db.device.s02[INT32]).
      *

      Attachments

        Activity

          People

            Marcoss Yukun Zhou
            刘珍 刘珍
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: