vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 1 | use dataverse fuzzy1; |
| 2 | |
| 3 | declare type DBLPType as open { |
| 4 | id: int32, |
| 5 | dblpid: string, |
| 6 | title: string, |
| 7 | authors: string, |
| 8 | misc: string |
| 9 | } |
| 10 | |
| 11 | declare nodegroup group1 on rainbow-01, rainbow-02, rainbow-03, |
| 12 | rainbow-04, rainbow-05; |
| 13 | |
| 14 | declare dataset DBLPSmall(DBLPType) |
ramangrover29 | 669d8f6 | 2013-02-11 06:03:32 +0000 | [diff] [blame] | 15 | primary key id on group1; |
vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 16 | |
| 17 | load dataset DBLPSmall |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame^] | 18 | using "org.apache.asterix.external.dataset.adapter.NCFileSystemAdapter" |
vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 19 | (("path"="rainbow-01:///home/hyracks/demo-data/dblp-small-id.txt"),("format"="delimited-text"),("delimiter"=":") pre-sorted; |
| 20 | |