ruby impl should produce better errors on "flattened" schemas in fields
-----------------------------------------------------------------------

                 Key: AVRO-531
                 URL: https://issues.apache.org/jira/browse/AVRO-531
             Project: Avro
          Issue Type: Improvement
          Components: ruby
    Affects Versions: 1.3.2
            Reporter: Jeff Hodges
            Assignee: Jeff Hodges


The "flattened" schemas of fields that look like

{code}
"request": [
          { "name": "id", "type": "array", "items": "long" }
        ],
{code}

that are supposed to be

{code}
"request": [
          { "name": "id", "type": {"type": "array", "items": "long" }}
        ],
{code}

should have way better errors associated with them. Basically, we should check 
record types for things other than "default", "doc", "name", "type" and raise a 
specific error if they are seen.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to