You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2019/08/10 10:14:34 UTC

[incubator-iotdb] branch fix_readme created (now 8df2035)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a change to branch fix_readme
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


      at 8df2035  fix readme errors

This branch includes the following new commits:

     new 8df2035  fix readme errors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-iotdb] 01/01: fix readme errors

Posted by qi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch fix_readme
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 8df203500362de3a2ffb588e654641e0de769536
Author: qiaojialin <64...@qq.com>
AuthorDate: Sat Aug 10 18:14:18 2019 +0800

    fix readme errors
---
 README.md | 48 ++++++++++++++++++++++++++----------------------
 1 file changed, 26 insertions(+), 22 deletions(-)

diff --git a/README.md b/README.md
index 564583b..c7e9058 100644
--- a/README.md
+++ b/README.md
@@ -136,7 +136,7 @@ Otherwise, you may need to check the error statements and fix the problems.
 After build, the IoTDB project will be at the folder "server/target/iotdb-server-{project.version}". The folder will include the following contents:
 
 ```
-server/iotdb/  <-- root path
+server/target/iotdb-server-{project.version}  <-- root path
 |
 +- sbin/       <-- script files for starting and stopping the server
 |
@@ -147,6 +147,8 @@ server/iotdb/  <-- root path
 +- lib/       <-- project dependencies
 ```
 
+> NOTE: Directories "service-rpc/target/generated-sources/thrift" and "server/target/generated-sources/antlr3" need to be added to sources roots to avoid compilation errors. 
+
 ## Configure
 
 Before starting to use IoTDB, you need to config the configuration files first. For your convenience, we have already set the default config in the files.
@@ -226,9 +228,9 @@ But lets try something slightly more interesting:
 
 ``` 
 IoTDB> SET STORAGE GROUP TO root.vehicle
-execute successfully.
+It costs xxxs
 IoTDB> CREATE TIMESERIES root.vehicle.d0.s0 WITH DATATYPE=INT32, ENCODING=RLE
-execute successfully.
+It costs xxxs
 ```
 Till now, we have already create a table called root.vehicle and add a column called d0.s0 in the table. Let's take a look at what we have done by 'SHOW TIMESERIES' command.
 
@@ -236,37 +238,39 @@ Till now, we have already create a table called root.vehicle and add a column ca
 IoTDB> SHOW TIMESERIES
 ===  Timeseries Tree  ===
 
-root:{
-    vehicle:{
-        d0:{
-            s0:{
-                 DataType: INT32,
-                 Encoding: RLE,
-                 Compressor: UNCOMPRESSED,
-                 args: {},
-                 StorageGroup: root.vehicle
-            }
+{
+        "root":{
+                "vehicle":{
+                        "d0":{
+                                "s0":{
+                                        "args":"{}",
+                                        "StorageGroup":"root.vehicle",
+                                        "DataType":"INT32",
+                                        "Compressor":"UNCOMPRESSED",
+                                        "Encoding":"RLE"
+                                }
+                        }
+                }
         }
-    }
 }
 ```
 Insert time series data is the basic operation of IoTDB, you can use 'INSERT' command to finish this:
 
 ```
 IoTDB> insert into root.vehicle.d0(timestamp,s0) values(1,101);
-execute successfully.
+It costs xxxs
 ```
 The data we've just inserted displays like this:
 
 ```
 IoTDB> SELECT d0.s0 FROM root.vehicle
-+-----------------------+------------------+
-|                   Time|root.vehicle.d0.s0|
-+-----------------------+------------------+
-|1970-01-01T08:00:00.001|               101|
-+-----------------------+------------------+
-record number = 1
-execute successfully.
++-----------------------------+------------------+
+|                         Time|root.vehicle.d0.s0|
++-----------------------------+------------------+
+|1970-01-01T08:00:00.001+08:00|               101|
++-----------------------------+------------------+
+Total line number = 1
+It costs xxxs
 ```
 
 If your session looks similar to what's above, congrats, your IoTDB is operational!