You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/07/21 12:42:22 UTC

[GitHub] [iotdb] yschengzi commented on pull request #3576: [IOTDB-1519]add metadata checking option and change grammar for loading tsfile

yschengzi commented on pull request #3576:
URL: https://github.com/apache/iotdb/pull/3576#issuecomment-884158780


   update:
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org