diff --git a/pantab/src/pantab.cpp b/pantab/src/pantab.cpp index ccfd175a..47af5f7a 100644 --- a/pantab/src/pantab.cpp +++ b/pantab/src/pantab.cpp @@ -1,10 +1,5 @@ #include -#include -#include -#include -#include #include -#include #include #include @@ -12,15 +7,11 @@ #include #include #include -#include #include -#include #include #include -#include -#include "nanoarrow/nanoarrow.h" -#include "nanoarrow/nanoarrow_types.h" +#include "datetime.h" #include "numpy_datetime.h" namespace nb = nanobind; @@ -511,10 +502,10 @@ class StringReadHelper : public ReadHelper { } const auto strval = value.get(); - const ArrowStringView string_view{strval.c_str(), - static_cast(strval.size())}; + const ArrowStringView arrow_string_view{ + strval.c_str(), static_cast(strval.size())}; - if (ArrowArrayAppendString(array_, string_view)) { + if (ArrowArrayAppendString(array_, arrow_string_view)) { throw std::runtime_error("ArrowAppendString failed"); }; }