This is an automated email from the ASF dual-hosted git repository. dkulp pushed a commit to branch revert-403-fix_read_map_with_schema in repository https://gitbox.apache.org/repos/asf/avro.git
commit 6af58e9a9e8419976143a40583ea20debf73e056 Author: Daniel Kulp <[email protected]> AuthorDate: Thu Dec 20 16:01:34 2018 -0500 Revert "[FIX] Support applying default null when map exists in schema and not in encoded data (#403)" This reverts commit a18b35e7d284ecd50c353a93e2ac56894b4ff885. --- lang/ruby/lib/avro/schema.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lang/ruby/lib/avro/schema.rb b/lang/ruby/lib/avro/schema.rb index e77ec43..8e345e3 100644 --- a/lang/ruby/lib/avro/schema.rb +++ b/lang/ruby/lib/avro/schema.rb @@ -115,7 +115,6 @@ module Avro datum.is_a?(Array) && datum.all?{|d| validate(expected_schema.items, d) } when :map - datum.is_a?(Hash) && datum.keys.all?{|k| k.is_a? String } && datum.values.all?{|v| validate(expected_schema.values, v) } when :union
