You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "yusicheng (Jira)" <ji...@apache.org> on 2021/07/21 10:49:00 UTC

[jira] [Created] (IOTDB-1519) add metadata check option and change grammar for loading tsfile

yusicheng created IOTDB-1519:
--------------------------------

             Summary: add metadata check option and change grammar for loading tsfile
                 Key: IOTDB-1519
                 URL: https://issues.apache.org/jira/browse/IOTDB-1519
             Project: Apache IoTDB
          Issue Type: Improvement
          Components: Server
            Reporter: yusicheng


add a option for loading tsfile sql statement.
Now the statement for loading tsfile looks like this:

{code:sql}
load "<path/dir>" [schema=true/false] [level=int] [metadata=true/false]
{code}

for example,
we want to load tsfiles with auto creating schema, and storage group level is 1, and need metadata check, we can input sql:

{code:sql}
load "/Users/Desktop/data/1575028885956-101-0.tsfile" schema=true,level=1,meatadata=true
{code}

if the options is missing, the default value is "schema=true,level=1,metadata=true".
for example, when we input sql:

{code:sql}
load "/Users/Desktop/data/1575028885956-101-0.tsfile"
{code}

means:

{code:sql}
load "/Users/Desktop/data/1575028885956-101-0.tsfile" schema=true,level=1,meatadata=true
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)