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

Make simplified SQL of creating timeseries and schema template more flexible

    XMLWordPrintableJSON

Details

    • 2022-1-Tian

    Description

      I make simplified SQL of creating time-series and schema templates more flexible to improve fault tolerance for users.

      Now, we can use SQL:

      create timeseries root.sg1.d1.s1 with datatype = INT64, encoding = RLE 
      create timeseries root.sg1.d1.s1 with datatype = INT64 encoding = RLE 
      create timeseries root.sg1.d1.s1 datatype = INT64 encoding = RLE 
      create timeseries root.sg1.d1.s1 with INT64 encoding = RLE 
      create timeseries root.sg1.d1.s1 INT64 encoding = RLE // recommend 

       

       

      简化版可不可以输入了datatype也能支持创建呢?

      看上去的感觉有点是“那还简化了什么呢?只是一个逗号?”其实是为了后面的一些相关问题,

      比如这个问题的clon连接里面,如果我们这个问题解决,那么create template也就解决了。扩展到create aligned timeseries

      Attachments

        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: