astro.sql.operators.raw_sql

Module Contents

Classes

RawSQLOperator

Given a SQL statement, (optional) tables and a (optional) function, execute the SQL statement

class astro.sql.operators.raw_sql.RawSQLOperator

Bases: astro.sql.operators.base.BaseSQLOperator

Given a SQL statement, (optional) tables and a (optional) function, execute the SQL statement and apply the function to the results, returning the result of the function.

Disclaimer: this could potentially trash the XCom Database, depending on the XCom backend used and on the SQL statement/function declared by the user.

execute(context)
Parameters

context (Dict) –

Return type

Any