Skip to content

Commit

Permalink
remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OussamaSaoudi-db committed Oct 10, 2024
1 parent 11fc68a commit c3160ad
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions ffi/examples/read-table/read_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit c3160ad

Please sign in to comment.