avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hodges (JIRA)" <j...@apache.org>
Subject [jira] Created: (AVRO-531) ruby impl should produce better errors on "flattened" schemas in fields
Date Wed, 28 Apr 2010 07:36:39 GMT
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.


Mime
View raw message