diff --git a/build/Makefile.linux b/build/Makefile.linux index da3d417..fc88eff 100644 --- a/build/Makefile.linux +++ b/build/Makefile.linux @@ -44,7 +44,7 @@ CC = gcc CXX = g++ OPTIMIZATIONS = -O3 CPUS:=$(shell nproc) -CFLAGS = -I $(SQLITE) -I $(PARQUET_CPP)/arrow_ep-prefix/src/arrow_ep/cpp/src -I $(PARQUET_CPP)/src -I $(ARROW)/cpp/src $(OPTIMIZATIONS) -std=c++11 -Wall -fPIC -g +CFLAGS = -I $(SQLITE) -I $(ARROW)/cpp/src -I $(PARQUET_CPP)/arrow_ep-prefix/src/arrow_ep/cpp/src -I $(PARQUET_CPP)/src $(OPTIMIZATIONS) -std=c++11 -Wall -fPIC -g ALL_LIBS = $(PARQUET_CPP_LIB) $(LZ4_LIB) $(ZSTD_LIB) $(THRIFT_LIB) $(SNAPPY_LIB) $(ARROW_LIB) \ $(ICU_I18N_LIB) $(ICU_UC_LIB) $(ICU_DATA_LIB) \ diff --git a/parquet/parquet_cursor.cc b/parquet/parquet_cursor.cc index b52feb8..136ce98 100644 --- a/parquet/parquet_cursor.cc +++ b/parquet/parquet_cursor.cc @@ -775,6 +775,7 @@ void ParquetCursor::ensureColumn(int col) { case parquet::Type::INT64: { parquet::Int64Scanner* s = (parquet::Int64Scanner*)scanners[col].get(); + //long rv = 0; long long rv = 0; s->NextValue(&rv, &wasNull); break; @@ -859,6 +860,7 @@ void ParquetCursor::ensureColumn(int col) { case parquet::Type::INT64: { parquet::Int64Scanner* s = (parquet::Int64Scanner*)scanners[col].get(); + //long rv = 0; long long rv = 0; hadValue = s->NextValue(&rv, &wasNull); colIntValues[col] = rv;