You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@crunch.apache.org by jw...@apache.org on 2014/02/27 02:41:09 UTC
git commit: CRUNCH-358: Correct the person.avsc schema to be valid.
Contributed by Tom White.
Repository: crunch
Updated Branches:
refs/heads/master d68895f32 -> cfee30e98
CRUNCH-358: Correct the person.avsc schema to be valid. Contributed by Tom White.
Project: http://git-wip-us.apache.org/repos/asf/crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/crunch/commit/cfee30e9
Tree: http://git-wip-us.apache.org/repos/asf/crunch/tree/cfee30e9
Diff: http://git-wip-us.apache.org/repos/asf/crunch/diff/cfee30e9
Branch: refs/heads/master
Commit: cfee30e988b826d4c89a78622bf327e13555129f
Parents: d68895f
Author: Josh Wills <jw...@apache.org>
Authored: Wed Feb 26 17:40:50 2014 -0800
Committer: Josh Wills <jw...@apache.org>
Committed: Wed Feb 26 17:40:50 2014 -0800
----------------------------------------------------------------------
crunch-core/src/test/avro/person.avsc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/crunch/blob/cfee30e9/crunch-core/src/test/avro/person.avsc
----------------------------------------------------------------------
diff --git a/crunch-core/src/test/avro/person.avsc b/crunch-core/src/test/avro/person.avsc
index e0fff30..eb24071 100644
--- a/crunch-core/src/test/avro/person.avsc
+++ b/crunch-core/src/test/avro/person.avsc
@@ -22,5 +22,5 @@
"fields": [
{"name": "name", "type": ["string", "null"] },
{"name": "age", "type": "int"},
- {"name": "siblingnames", "type" : [{ "type": "array", "items": "string" }, "null"], "default": null } ]
+ {"name": "siblingnames", "type" : ["null", { "type": "array", "items": "string" }], "default": null } ]
}