changing to json from csv otherwise I'd need to declare the dialect and the csv fields

This commit is contained in:
d1ana 2012-03-29 20:10:24 -04:00
Родитель e60074f36c
Коммит 36fa9f6b36
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -79,8 +79,9 @@ Here's what a similar query using Inferno would look like:
::
InfernoRule(
name='last_names_csv',
name='last_names_json',
source_tags=['example:chunk:users'],
map_input_stream=chunk_json_keyset_stream,
parts_preprocess=[count],
key_parts=['last'],
value_parts=['count'],
@ -88,7 +89,7 @@ Here's what a similar query using Inferno would look like:
::
diana@ubuntu:~$ inferno -i names.last_names_csv
diana@ubuntu:~$ inferno -i names.last_names_json
last,count
Nahasapeemapetilon,3