Register a JSON (NDJSON) file at the given path
(self, table_name: &str, path: &str)
| 1108 | |
| 1109 | /// Register a JSON (NDJSON) file at the given path |
| 1110 | async fn register_json(self, table_name: &str, path: &str) -> Self { |
| 1111 | let url = format!("mem://{path}"); |
| 1112 | self.session_context |
| 1113 | .register_json(table_name, url, JsonReadOptions::default()) |
| 1114 | .await |
| 1115 | .unwrap(); |
| 1116 | self |
| 1117 | } |
| 1118 | |
| 1119 | /// Register a partitioned JSON table at the given path |
| 1120 | async fn register_partitioned_json(self, table_name: &str, path: &str) -> Self { |
no outgoing calls
no test coverage detected