aboutsummaryrefslogtreecommitdiff
path: root/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c')
-rw-r--r--databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c b/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c
index 46bb0a440466..ba9bbadf843f 100644
--- a/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c
+++ b/databases/py-snowflake-connector-python/files/patch-src_snowflake_connector_nanoarrow__cpp_ArrowIterator_nanoarrow__ipc.c
@@ -1,6 +1,6 @@
---- src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.c.orig 2023-11-30 19:17:00 UTC
+--- src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.c.orig 2024-04-04 23:04:16 UTC
+++ src/snowflake/connector/nanoarrow_cpp/ArrowIterator/nanoarrow_ipc.c
-@@ -21239,7 +21239,7 @@ static inline int ArrowIpcDecoderReadHeaderPrefix(stru
+@@ -32030,7 +32030,7 @@ static inline int ArrowIpcDecoderReadHeaderPrefix(
if (header_body_size_bytes == 0) {
ArrowErrorSet(error, "End of Arrow stream");
@@ -9,16 +9,16 @@
}
return NANOARROW_OK;
-@@ -22194,7 +22194,7 @@ static int ArrowIpcArrayStreamReaderNextHeader(
- // is one of the valid outcomes) but we set the error anyway in case it gets
- // propagated higher (e.g., if the stream is empty and there's no schema message)
+@@ -33015,7 +33015,7 @@ static int ArrowIpcArrayStreamReaderNextHeader(
+ // it gets propagated higher (e.g., if the stream is empty and there's no
+ // schema message)
ArrowErrorSet(&private_data->error, "No data available on stream");
- return ENODATA;
+ return ENOATTR;
} else if (bytes_read != 8) {
ArrowErrorSet(&private_data->error,
"Expected at least 8 bytes in remainder of stream");
-@@ -22338,7 +22338,7 @@ static int ArrowIpcArrayStreamReaderGetNext(struct Arr
+@@ -33167,7 +33167,7 @@ static int ArrowIpcArrayStreamReaderGetNext(struct Arr
// Read + decode the next header
int result = ArrowIpcArrayStreamReaderNextHeader(
private_data, NANOARROW_IPC_MESSAGE_TYPE_RECORD_BATCH);