We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9054e17 commit 58f4bd5Copy full SHA for 58f4bd5
1 file changed
src/dataframe.rs
@@ -59,6 +59,7 @@ use crate::{
59
expr::{sort_expr::PySortExpr, PyExpr},
60
};
61
62
+#[allow(clippy::manual_c_str_literals)]
63
static ARROW_STREAM_NAME: &CStr =
64
unsafe { CStr::from_bytes_with_nul_unchecked(b"arrow_array_stream\0") };
65
@@ -946,7 +947,7 @@ impl PyDataFrame {
946
947
let stream = spawn_stream(py, async move { df.execute_stream().await })?;
948
949
let mut schema: Schema = self.df.schema().to_owned().into();
- let mut projection: Option<SchemaRef> = Some(Arc::new(schema.clone()));
950
+ let mut projection: Option<SchemaRef> = None;
951
952
if let Some(schema_capsule) = requested_schema {
953
validate_pycapsule(&schema_capsule, "arrow_schema")?;
0 commit comments