diff --git a/ffi/examples/read-table/read_table.c b/ffi/examples/read-table/read_table.c index 51e10d99..dbb26b01 100644 --- a/ffi/examples/read-table/read_table.c +++ b/ffi/examples/read-table/read_table.c @@ -6,7 +6,6 @@ #include "expression.h" #include "read_table.h" #include "schema.h" -#include "expression.h" // some diagnostic functions void print_diag(char* fmt, ...) @@ -107,11 +106,7 @@ void scan_row_callback( { (void)size; // not using this at the moment struct EngineContext* context = engine_context; - print_diag( - "Called back to read file: %.*s. (size: %" PRIu64 ", num records: ", - (int)path.len, - path.ptr, - size); + print_diag("Called back to read file: %.*s. (size: %" PRIu64 ", num records: ", (int)path.len, path.ptr, size); if (stats) { print_diag("%" PRId64 ")\n", stats->num_records); } else { @@ -201,10 +196,8 @@ PartitionList* get_partition_list(SharedGlobalScanState* state) int main(int argc, char* argv[]) { - // test_kernel_expr(); - if (argc < 2) { - printf("Usage: %s read_table table/path\n", argv[0]); + printf("Usage: %s table/path\n", argv[0]); return -1; }