Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2683#discussion_r216981072
  
    --- Diff: 
store/sdk/src/main/java/org/apache/carbondata/sdk/file/TestUtil.java ---
    @@ -136,33 +136,40 @@ public static void writeFilesAndVerify(int rows, 
Schema schema, String path, Str
           CarbonWriter writer = builder.buildWriterForCSVInput(schema, 
configuration);
     
           for (int i = 0; i < rows; i++) {
    -        writer.write(new String[]{"robot" + (i % 10), String.valueOf(i), 
String.valueOf((double) i / 2)});
    +        writer.write(new String[]{
    +            "robot" + (i % 10), String.valueOf(i % 3000000), 
String.valueOf((double) i / 2)});
           }
           writer.close();
    -    } catch (IOException e) {
    +    } catch (Exception e) {
           e.printStackTrace();
    --- End diff --
    
    fixed


---

Reply via email to