default does not work --------------------- Key: AVRO-535 URL: https://issues.apache.org/jira/browse/AVRO-535 Project: Avro Issue Type: Bug Components: ruby Affects Versions: 1.4.0 Environment: Mac OSX Reporter: Wanli Yang
The default value does not work. I get the following errors: ./vendor/gems/avro-1.4.0.pre1/lib/avro/io.rb:544:in `write_data': The datum {"id"=>3} is not an example of schema [{"name":"other","default":"foo","type":"string"},{"name":"id","type":"long"}] (Avro::IO::AvroTypeError) from ./vendor/gems/avro-1.4.0.pre1/lib/avro/io.rb:539:in `write' from ./vendor/gems/avro-1.4.0.pre1/lib/avro/ipc.rb:160:in `write_request' from ./vendor/gems/avro-1.4.0.pre1/lib/avro/ipc.rb:155:in `write_call_request' from ./vendor/gems/avro-1.4.0.pre1/lib/avro/ipc.rb:105:in `request' -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.