Github user kunal642 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2316#discussion_r189530725
--- Diff: docs/sdk-writer-guide.md ---
@@ -93,9 +93,8 @@ public class TestSdkAvro {
try {
CarbonWriter writer = CarbonWriter.builder()
- .withSchema(carbonSchema)
.outputPath(path)
- .buildWriterForAvroInput();
+ .buildWriterForAvroInput(new org.apache.avro.Schema.Parser().parse(avroSchema));
--- End diff --
removed
---