We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e35ca21 commit 242c231Copy full SHA for 242c231
datafusion-flight-sql-server/examples/flight-sql.rs
@@ -19,8 +19,11 @@ use tonic::transport::Endpoint;
19
async fn main() -> Result<()> {
20
let dsn: String = "0.0.0.0:50051".to_string();
21
let remote_ctx = SessionContext::new();
22
+
23
+ let csv_path = format!("{}/examples/test.csv", env!("CARGO_MANIFEST_DIR"));
24
25
remote_ctx
- .register_csv("test", "./examples/test.csv", CsvReadOptions::new())
26
+ .register_csv("test", &csv_path, CsvReadOptions::new())
27
.await?;
28
29
// Remote context
0 commit comments