Skip to content

When serialize FixedString and string is bigger than size defined in Table definition #2223

Open
@mzitnik

Description

@mzitnik

Describe your feedback

Currently, the behavior is that if the string that is sent to serialize is bigger, we send only the length defined in the table schema.

A good approach is to have a flag that indicates if it's a bigger throw Exception or send only a string of a defined size.

Code example

How it's done today
writeFixedString only what is needed.

     BinaryStreamUtils.writeFixedString(stream, convertToString(value), column.getPrecision());

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions