writeonce: Avoid redundancy in error message

It's expected that the caller lists the filename, so we don't have to.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
ca-load: Support loading binary tables directly

It would be unfortunate if we had to decode the tables, merge them with GNU
sort and then parse the ASCII again.  One advantage we'll miss out on is the
concurrent decoding of the input tables.  This should probably be added to
merge.c later.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
table-write: Fix code for defined(NVERIFY) case

The "done:" label is only used when NVERIFY is not defined, so it needs to be
inside the #if block.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
schema: Support global prefixes for time-series tables

If you have many items needing the same prefix, this commit eliminates the need
to store that prefix in the table itself.  For example, we have millions of
Wikipedia articles we want to prefix with "wikipedia.en:" for search purposes.

This change is also an optimization, in that table files with non-matching
prefixes need not be scanned when searching for a key with a different prefix.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
ca-dump: Support the --date-format parameter

Prior to this commite, a date format string was captured but not used.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>