andygrove commented on code in PR #48:
URL: https://github.com/apache/datafusion-ray/pull/48#discussion_r1846710378
##########
datafusion_ray/context.py:
##########
@@ -153,19 +141,24 @@ def sql(self, sql: str) -> pa.RecordBatch:
return []
df = self.df_ctx.sql(sql)
- execution_plan = df.execution_plan()
+ return self.plan(df.execution_plan())
+
+ def plan(self, execution_plan: Any) -> pa.RecordBatch:
graph = self.ctx.plan(execution_plan)
final_stage_id = graph.get_final_query_stage().id()
- partitions = schedule_execution(graph, final_stage_id, True)
+ # serialize the query stages and store in Ray object store
+ query_stages = [
Review Comment:
these are the serialized execution plans for each query stage:
```python
graph.get_query_stage(i).get_execution_plan_bytes()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]