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

When according to yyyy.MM.dd HH:mm:ss to write data, an error is reported.

    XMLWordPrintableJSON

Details

    • 2022-2-Tian

    Description

       

      In the CLI, according to the supported time format mentioned in the userguide to insert data , an error will be reported when yyyy.MM.dd HH:mm:ss is encountered.

      IoTDB> insert into root.ln.wf01.wt01(time,temperature) values(2022.02.10 10:12:10,12.12)
      Msg: 401: Error occurred while parsing SQL to physical plan: line 1:66 extraneous input '10:12:10' expecting {NOW, '-', '+', '.', ',', '(', ')', STRING_LITERAL, DATETIME_LITERAL, INTEGER_LITERAL, EXPONENT_NUM_PART, BOOLEAN_LITERAL, NULL_LITERAL, NAN_LITERAL} 

      If the time format of yyyy.MM.dd HH:mm:ss is not supported in V0.13, this part of the content needs to be removed in the userguide.

       

      Attachments

        Issue Links

          Activity

            People

              liuminghui Minghui Liu
              xiaozhihong xiaozhihong
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: