Return a new [`TaskContext`] which would be used to execute this DataFrame
(&self)
| 1555 | |
| 1556 | /// Return a new [`TaskContext`] which would be used to execute this DataFrame |
| 1557 | pub fn task_ctx(&self) -> TaskContext { |
| 1558 | TaskContext::from(self.session_state.as_ref()) |
| 1559 | } |
| 1560 | |
| 1561 | /// Executes this DataFrame and returns a stream over a single partition |
| 1562 | /// |