Skip to content

JsonPrinter and SBEIR Schema codegen issues #560

Closed
@aksharp

Description

@aksharp

Ran into few issues while evaluating SBE 1.8.1

  1. Issues with JsonPrinter (would like to use it for logging/toolchain as it is faster than alternatives)
  • Prints invalid JSON
  • Drops enum and bool fields
  • Rounds up numbers
  1. IR Schema file
  • Enum values are missing when using sbeir schema with SBE Tool to codegen

POC code is available on github here: https://github.com/aksharp/sbe-poc

Failing test
https://github.com/aksharp/sbe-poc/blob/master/src/test/scala/sbe/JsonComparison.scala

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions