vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 1 | use dataverse fuzzy1; |
| 2 | |
| 3 | declare type CSXType as open { |
| 4 | id: int32, |
| 5 | csxid: string, |
| 6 | title: string, |
| 7 | authors: string, |
| 8 | misc: string |
| 9 | } |
| 10 | |
| 11 | declare nodegroup group1 on nc1, nc2; |
| 12 | |
| 13 | declare dataset CSX(CSXType) |
| 14 | partitioned by key id on group1; |
| 15 | |
| 16 | // load dataset CSX from nc1:'/asterix/asterix-app/data/pub-small/csx-small-id.txt' |
| 17 | load dataset CSX |
| 18 | using "edu.uci.ics.asterix.external.dataset.adapter.NCFileSystemAdapter" |
| 19 | (("path"="nc1:///asterix/asterix-app/data/pub-small/csx-small-id.txt"),("format"="delimited-text"),("delimiter"=":")) pre-sorted; |
| 20 | |