crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject [12/19] CRUNCH-17: Split out Crunch integration tests. Contributed by Matthias Friedrich.
Date Sat, 14 Jul 2012 17:28:53 GMT
http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/42c9e4e5/crunch/src/it/resources/person.avro
----------------------------------------------------------------------
diff --git a/crunch/src/it/resources/person.avro b/crunch/src/it/resources/person.avro
new file mode 100644
index 0000000..053c31c
--- /dev/null
+++ b/crunch/src/it/resources/person.avro
@@ -0,0 +1,9 @@
+{
+"namespace": "com.cloudera.crunch.test",
+"name": "Person",
+"type": "record",
+"fields": [
+  {"name": "name", "type": ["string", "null"] },
+  {"name": "age", "type": "int"},
+  {"name": "siblingnames", "type": {"type": "array", "items": "string"}} ]
+} 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/42c9e4e5/crunch/src/it/resources/set1.txt
----------------------------------------------------------------------
diff --git a/crunch/src/it/resources/set1.txt b/crunch/src/it/resources/set1.txt
new file mode 100644
index 0000000..3b67f57
--- /dev/null
+++ b/crunch/src/it/resources/set1.txt
@@ -0,0 +1,4 @@
+b
+c
+a
+e
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/42c9e4e5/crunch/src/it/resources/set2.txt
----------------------------------------------------------------------
diff --git a/crunch/src/it/resources/set2.txt b/crunch/src/it/resources/set2.txt
new file mode 100644
index 0000000..8169ab5
--- /dev/null
+++ b/crunch/src/it/resources/set2.txt
@@ -0,0 +1,3 @@
+c
+d
+a
\ No newline at end of file


Mime
View raw message