delta-io / delta-sharing

An open protocol for secure data sharing
https://delta.io/sharing
Apache License 2.0
753 stars 168 forks source link

Inconsistent data type support for jsonPredicateHints #449

Open LazyRen opened 9 months ago

LazyRen commented 9 months ago

Hello,

according to the protocol documentation: primitive types, Delta Sharing supports 12 types of primitive type.

short | 2-byte signed integer numbers. Range: -32768 to 32767 byte | 1-byte signed integer number. Range: -128 to 127 binary | A sequence of binary data decimal

However, jsonPredicateHints only support 8 types. Execluding short, byte, binary, decimal types.

Does this mean we cannot use 4 types for the predicate hints? I'm mostly curious on the short type. Can I use int to replace this?