Github user manishgupta88 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2326#discussion_r189787853
--- Diff:
store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonWriterBuilder.java
---
@@ -488,6 +491,8 @@ private void buildTableSchema(Field[] fields,
TableSchemaBuilder tableSchemaBuil
columnSchema.setSortColumn(true);
sortColumnsSchemaList[i] = columnSchema;
i++;
+ } else {
+ columnSchema.setSortColumn(false);
--- End diff --
its a boolean value..by default it will be false so this code change is not
required
---