avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avi Flax <...@timehop.com>
Subject Re: Value constraints in schemas?
Date Tue, 31 Mar 2015 14:31:23 GMT
On Tue, Mar 31, 2015 at 3:13 AM, Harsh J <harsh@cloudera.com> wrote:
> No, arbitrary value constraints (aside of "null" checks) cannot be
> expressed in the schema currently:
> http://avro.apache.org/docs/current/spec.html#schema_primitive. All
> values for a given primitive type are taken as a valid one.

OK, thanks!

Has this ever been discussed or contemplated before? I think it’d be a
very useful and natural feature.

Mime
View raw message