pjain1 opened a new pull request #8066: write value of bitmap as field name URL: https://github.com/apache/incubator-druid/pull/8066 I was trying to dump bitmaps for a segment and got this error - ``` Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: com.fasterxml.jackson.core.JsonGenerationException: Can not start an array, expecting field name at org.apache.druid.cli.DumpSegment.run(DumpSegment.java:197) at org.apache.druid.cli.Main.main(Main.java:112) Caused by: java.lang.RuntimeException: com.fasterxml.jackson.core.JsonGenerationException: Can not start an array, expecting field name at org.apache.druid.cli.DumpSegment$3.apply(DumpSegment.java:391) at org.apache.druid.cli.DumpSegment$3.apply(DumpSegment.java:342) at org.apache.druid.cli.DumpSegment.withOutputStream(DumpSegment.java:427) at org.apache.druid.cli.DumpSegment.runBitmaps(DumpSegment.java:340) at org.apache.druid.cli.DumpSegment.run(DumpSegment.java:190) ... 1 more Caused by: com.fasterxml.jackson.core.JsonGenerationException: Can not start an array, expecting field name at com.fasterxml.jackson.core.JsonGenerator._reportError(JsonGenerator.java:1649) at com.fasterxml.jackson.core.json.UTF8JsonGenerator._verifyValueWrite(UTF8JsonGenerator.java:949) at com.fasterxml.jackson.core.json.UTF8JsonGenerator.writeStartArray(UTF8JsonGenerator.java:282) at org.apache.druid.cli.DumpSegment$3.apply(DumpSegment.java:367) ... 5 more ``` So the column value for which bitmap will be output was missing so added it. Not sure how was it working before, can anybody try if they are getting the same exception without this fix ?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
