Github user ajantha-bhat commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2807#discussion_r228920818
  
    --- Diff: store/CSDK/test/main.cpp ---
    @@ -116,6 +118,66 @@ void printResult(JNIEnv *env, CarbonReader reader) {
         reader.close();
     }
     
    +/**
    + * test read Schema from Index File
    + *
    + * @param env jni env
    + * @return whether it is success
    + */
    +bool readSchemaInIndexFile(JNIEnv *env) {
    +    printf("\nread Schema from Index File:\n");
    +    CarbonSchemaReader carbonSchemaReader(env);
    +    jobject schema;
    +    try {
    +        schema = carbonSchemaReader.readSchemaInIndexFile(
    +                
"../../../../resources/carbondata/510199997055746_batchno0-0-null-510199277323454.carbonindex");
    +    } catch (jthrowable e) {
    --- End diff --
    
    cannot keep your local test case in repo. Make a general test case without 
binary dependency.


---

Reply via email to