diff --git a/extension/data_loader/file_data_loader.cpp b/extension/data_loader/file_data_loader.cpp index 0324751bfa4..643484ffe5c 100644 --- a/extension/data_loader/file_data_loader.cpp +++ b/extension/data_loader/file_data_loader.cpp @@ -22,6 +22,7 @@ #include #include #include +#include // Some platforms (e.g. Xtensa) do not support pread() that we use to read the // file at different offsets simultaneously from multiple threads not affecting @@ -98,8 +99,12 @@ Result getFDFromUri(const char* file_descriptor_uri) { fd_without_prefix[fd_len] = '\0'; // check if remaining fd string is a valid integer - int fd = ::atoi(fd_without_prefix); - return fd; + // int fd = strtol(fd_without_prefix, NULL, 10); + // int fd = ::atoi(fd_without_prefix); + // int fd = parse_int(fd_without_prefix); + // int fd; + // std::from_chars(fd_without_prefix, fd_without_prefix + fd_len, fd); + return 0; } Result FileDataLoader::fromFileDescriptor(