datafusion.ExecutionContext

class datafusion.ExecutionContext

Bases: object

ExecutionContext is able to plan and execute DataFusion plans. It has a powerful optimizer, a physical planner for local execution, and a multi-threaded execution engine to perform the execution.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__

Initialize self.

create_dataframe

register_csv

register_parquet

register_udf

sql

Returns a DataFrame whose plan corresponds to the SQL statement.

tables

create_dataframe()
register_csv()
register_parquet()
register_record_batches()
register_udf()
sql()

Returns a DataFrame whose plan corresponds to the SQL statement.

tables()