Babulal created CARBONDATA-2411: ----------------------------------- Summary: infinite loop when sdk writer throws Exception Key: CARBONDATA-2411 URL: https://issues.apache.org/jira/browse/CARBONDATA-2411 Project: CarbonData Issue Type: Bug Reporter: Babulal
When SDK CSVWriter throws Error (Cast String Exception). application is stuck and data loading Threads are in waiting state. Use below code to reproduce issue. val fields: Array[Field] = new Array[Field](2) fields(0) = new Field("stringField", DataTypes.STRING) fields(1) = new Field("intField", DataTypes.INT) val builder: CarbonWriterBuilder = CarbonWriter.builder.withSchema(new Schema(fields)) .isTransactionalTable(false).outputPath("D:/data/yyy").taskNo("5").isTransactionalTable(false) val writer: CarbonWriter = builder.buildWriterForCSVInput writer.write(Array("xyz",1)) writer.close() -- This message was sent by Atlassian JIRA (v7.6.3#76005)