[GitHub] [carbondata] whberet commented on a change in pull request #3224: [CARBONDATA-3379] thrift file-format support generate c++ code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] whberet commented on a change in pull request #3224: [CARBONDATA-3379] thrift file-format support generate c++ code

GitBox
whberet commented on a change in pull request #3224: [CARBONDATA-3379] thrift file-format support generate c++ code
URL: https://github.com/apache/carbondata/pull/3224#discussion_r287607563
 
 

 ##########
 File path: store/CSDK/test/README.md
 ##########
 @@ -0,0 +1,25 @@
+# Example of generate c++ code for file-format using thrift compiler
+
+### File List
+* build_carbondata_test.sh - Generate c++ code and compile
+* carbondata_test.cpp - Parsing .carbonindex using generated c++ code
+
+### Dependencies
+* thrfit 0.9.3
+* gcc 5.4
+* pkg-config
+
+### Usage
+1. build the carbondata_test
+
+```shell
+    sh build_carbondata_test.sh
+```
+
+2. Check if an executable file named carbondata_test is generated.
+
+3. Execute the carbondata_test wich a carbonindex file. Then will print the carbonindex version and carbondata file name.
+
+```shell
+    ./carbondata_test  83253824513500_batchno0-0-null-83253220657500.carbonindex
 
 Review comment:
   ```shell
       cd ../target
       ./carbondata_test <CARBONDATA_INDEXFILE>
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services