This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <arrow/api.h> | |
#include <arrow/result.h> | |
#include <arrow/compute/api.h> | |
#include <arrow/compute/exec/exec_plan.h> | |
arrow::Status ExecutePlanAndCollectAsTable( | |
std::shared_ptr<arrow::compute::ExecPlan> plan, | |
std::shared_ptr<arrow::Schema> schema, | |
arrow::AsyncGenerator<std::optional<arrow::compute::ExecBatch>> sink_gen) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
class FileSplitter: | |
def __init__(self): | |
self.parse_args(sys.argv) |