diff --git a/python/pylibcudf/pylibcudf/io/orc.pyx b/python/pylibcudf/pylibcudf/io/orc.pyx index f385b7af9ca..477d10bf9dc 100644 --- a/python/pylibcudf/pylibcudf/io/orc.pyx +++ b/python/pylibcudf/pylibcudf/io/orc.pyx @@ -426,7 +426,7 @@ cpdef TableWithMetadata read_orc(OrcReaderOptions options, Stream stream = None) cdef table_with_metadata c_result with nogil: - c_result = move(cpp_read_orc(options.c_obj)) + c_result = move(cpp_read_orc(options.c_obj, stream.view())) return TableWithMetadata.from_libcudf(c_result)