test/random_data.rb in avro-1.11.3 vs test/random_data.rb in avro-1.12.0
- old
+ new
@@ -87,9 +87,11 @@
Avro::LogicalTypes::IntDate.decode(rand_int)
when 'timestamp-micros'
Avro::LogicalTypes::TimestampMicros.decode(rand_long)
when 'timestamp-millis'
Avro::LogicalTypes::TimestampMillis.decode(rand_long)
+ when 'timestamp-nanos'
+ Avro::LogicalTypes::TimestampNanos.decode(rand_long)
end
end
CHARPOOL = 'abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789'
BYTEPOOL = '12345abcd'