cartridge-java icon indicating copy to clipboard operation
cartridge-java copied to clipboard

Introduce constants for Tarantool field types

Open akudiyar opened this issue 3 years ago • 0 comments

Currently, there are no defined constants for Tarantool field types in space metadata. It causes duplicated code in the derived modules (e.g. tarantool-spark).

I suggest adding such constants and use an enum for the field type value. The list of types must be taken from the official doc: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/format/

akudiyar avatar Sep 13 '21 18:09 akudiyar