(
&self,
sql: &str,
options: SQLOptions,
)
| 640 | /// ``` |
| 641 | #[cfg(feature = "sql")] |
| 642 | pub async fn sql_with_options( |
| 643 | &self, |
| 644 | sql: &str, |
| 645 | options: SQLOptions, |
| 646 | ) -> Result<DataFrame> { |
| 647 | let plan = self.state().create_logical_plan(sql).await?; |
| 648 | options.verify_plan(&plan)?; |
| 649 | |
| 650 | self.execute_logical_plan(plan).await |
| 651 | } |
| 652 | |
| 653 | /// Creates logical expressions from SQL query text. |
| 654 | /// |