You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2010/08/27 00:16:56 UTC
[jira] Created: (AVRO-635) ruby fully-qualified namespace mixed
with unqualified breaks
ruby fully-qualified namespace mixed with unqualified breaks
------------------------------------------------------------
Key: AVRO-635
URL: https://issues.apache.org/jira/browse/AVRO-635
Project: Avro
Issue Type: Bug
Reporter: Doug Cutting
Fix For: 1.4.0
Data interop tests fail when ruby tries to read a python-generated data file with:
Avro::SchemaParseError: "org.apache.avro.Node" is not a schema we know about.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AVRO-635) ruby fully-qualified namespace mixed
with unqualified breaks
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903133#action_12903133 ]
Doug Cutting commented on AVRO-635:
-----------------------------------
A more minimal schema that I believe will demonstrate this problem is:
{"type": "record", "name": "x.Y", "fields": [
{"type": {"type": "record", "name": "Z", "fields": [
{"name" "f", "type": "x.Z"}]}]}
> ruby fully-qualified namespace mixed with unqualified breaks
> ------------------------------------------------------------
>
> Key: AVRO-635
> URL: https://issues.apache.org/jira/browse/AVRO-635
> Project: Avro
> Issue Type: Bug
> Reporter: Doug Cutting
> Fix For: 1.4.0
>
> Attachments: py.avro
>
>
> Data interop tests fail when ruby tries to read a python-generated data file with:
> Avro::SchemaParseError: "org.apache.avro.Node" is not a schema we know about.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AVRO-635) ruby fully-qualified namespace mixed
with unqualified breaks
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-635:
------------------------------
Priority: Blocker (was: Major)
> ruby fully-qualified namespace mixed with unqualified breaks
> ------------------------------------------------------------
>
> Key: AVRO-635
> URL: https://issues.apache.org/jira/browse/AVRO-635
> Project: Avro
> Issue Type: Bug
> Reporter: Doug Cutting
> Priority: Blocker
> Fix For: 1.4.0
>
> Attachments: py.avro
>
>
> Data interop tests fail when ruby tries to read a python-generated data file with:
> Avro::SchemaParseError: "org.apache.avro.Node" is not a schema we know about.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AVRO-635) ruby fully-qualified namespace mixed
with unqualified breaks
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-635:
------------------------------
Attachment: py.avro
If the attached file is placed in build/interop/data, then 'rake interop' fails.
The schema in this file is:
{"type": "record", "namespace": "org.apache.avro", "name": "Interop", "fields": [
{"type": "int", "name": "intField"}, {"type": "long", "name": "longField"},
{"type": "string", "name": "stringField"}, {"type": "boolean", "name": "boolField"},
{"type": "float", "name": "floatField"}, {"type": "double", "name": "doubleField"},
{"type": "bytes", "name": "bytesField"}, {"type": "null", "name": "nullField"},
{"type": {"items": "double", "type": "array"}, "name": "arrayField"},
{"type": {"type": "map", "values": {"fields": [{"type": "string", "name": "label"}], "type": "record", "name": "Foo"}}, "name": "mapField"},
{"type": ["boolean", "double", {"items": "bytes", "type": "array"}], "name": "unionField"},
{"type": {"symbols": ["A", "B", "C"], "type": "enum", "name": "Kind"}, "name": "enumField"},
{"type": {"type": "fixed", "name": "MD5", "size": 16}, "name": "fixedField"},
{"type": {"fields": [{"type": "string", "name": "label"}, {"type": {"items": "org.apache.avro.Node", "type": "array"}, "name": "children"}], "type": "record", "name": "Node"}, "name": "recordField"}]}
The problem I think is that the namespace of Node is not defaulted to the namespace of the containing Interop record.
> ruby fully-qualified namespace mixed with unqualified breaks
> ------------------------------------------------------------
>
> Key: AVRO-635
> URL: https://issues.apache.org/jira/browse/AVRO-635
> Project: Avro
> Issue Type: Bug
> Reporter: Doug Cutting
> Fix For: 1.4.0
>
> Attachments: py.avro
>
>
> Data interop tests fail when ruby tries to read a python-generated data file with:
> Avro::SchemaParseError: "org.apache.avro.Node" is not a schema we know about.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AVRO-635) ruby fully-qualified namespace mixed
with unqualified breaks
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-635:
------------------------------
Component/s: ruby
> ruby fully-qualified namespace mixed with unqualified breaks
> ------------------------------------------------------------
>
> Key: AVRO-635
> URL: https://issues.apache.org/jira/browse/AVRO-635
> Project: Avro
> Issue Type: Bug
> Components: ruby
> Reporter: Doug Cutting
> Priority: Critical
> Fix For: 1.4.1
>
> Attachments: py.avro
>
>
> Data interop tests fail when ruby tries to read a python-generated data file with:
> Avro::SchemaParseError: "org.apache.avro.Node" is not a schema we know about.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AVRO-635) ruby fully-qualified namespace mixed
with unqualified breaks
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-635:
------------------------------
Fix Version/s: 1.4.1
(was: 1.4.0)
Priority: Critical (was: Blocker)
With AVRO-639, this no longer blocks the 1.4.0 release. It's still a bug, but not a regression so shouldn't block the release now that data interop tests pass again.
> ruby fully-qualified namespace mixed with unqualified breaks
> ------------------------------------------------------------
>
> Key: AVRO-635
> URL: https://issues.apache.org/jira/browse/AVRO-635
> Project: Avro
> Issue Type: Bug
> Reporter: Doug Cutting
> Priority: Critical
> Fix For: 1.4.1
>
> Attachments: py.avro
>
>
> Data interop tests fail when ruby tries to read a python-generated data file with:
> Avro::SchemaParseError: "org.apache.avro.Node" is not a schema we know about.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.