Apache DataFusion SQL Query Engine
docs: clarify stdin store buffers on construction, not first use (#23060)
Xin Huang17bb6d80f523
diff --git a/datafusion-cli/src/object_storage/stdin.rs b/datafusion-cli/src/object_storage/stdin.rsindex 602b00a9b9..c6136be3c4 100644--- a/datafusion-cli/src/object_storage/stdin.rs+++ b/datafusion-cli/src/object_storage/stdin.rs@@ -99,9 +99,9 @@ impl StdinUtils {format!("{}:///{object_name}", Self::SCHEME)}- /// Returns the object store backing the `stdin://` scheme, reading and- /// buffering standard input on first use and reusing that buffer for any- /// subsequent `stdin://` table created in the same session.+ /// Returns the object store backing the `stdin://` scheme, buffering all of+ /// standard input when the store is first constructed and reusing that+ /// buffer for any subsequent `stdin://` table created in the same session.////// stdin is a one-shot stream: it can only be read once. The object store/// registry keys by scheme/authority, so every `stdin://` URL maps to the