| 250 | } |
| 251 | |
| 252 | void usage() { |
| 253 | std::cout << "Usage: csv-import [-h] [--help]\n" |
| 254 | << " [-m] [--metrics]\n" |
| 255 | << " [-d <character>] [--delimiter=<character>]\n" |
| 256 | << " [-s <size>] [--stripe=<size>]\n" |
| 257 | << " [-c <size>] [--block=<size>]\n" |
| 258 | << " [-b <size>] [--batch=<size>]\n" |
| 259 | << " [-t <string>] [--timezone=<string>]\n" |
| 260 | << " <schema> <input> <output>\n" |
| 261 | << "Import CSV file into an Orc file using the specified schema.\n" |
| 262 | << "The timezone is writer timezone of timestamp types.\n" |
| 263 | << "Compound types are not yet supported.\n"; |
| 264 | } |
| 265 | |
| 266 | int main(int argc, char* argv[]) { |
| 267 | std::string input; |