I just noticed that there is already a Oracle_Operator https://github.com/apache/incubator-airflow/blob/master/airflow/operators/oracle_operator.py
"Concepts" page has to be updated probably to reflect that there is no SQLOpartor. Yep, I have cx_Oracle installed. Thanks Alex and Boris. -- Ruslan Dautkhanov On Sat, Mar 18, 2017 at 12:20 PM, Boris Tyukin <[email protected]> wrote: > >>I guess I will have to call OracleHook from PythonOperator? > > that's what I do! works fine. do not forget to install oracle_cx library > https://pypi.python.org/pypi/cx_Oracle/5.2.1 > > you can also create your own operator using one of existing ones as an > example > > On Fri, Mar 17, 2017 at 11:49 PM, Ruslan Dautkhanov <[email protected]> > wrote: > > > Thanks Alex > > > > I did notice MySQL one > > > > We are working with Oracle > > > > I guess I will have to call OracleHook from PythonOperator? > > > > > > > > On Fri, Mar 17, 2017 at 9:25 PM Alex Guziel <[email protected]. > > invalid> > > wrote: > > > > > I'm not sure if that one went away but there are different SQL > operators, > > > like MySqlOperator, MsSqlOperator, etc. that I see. > > > > > > Best, > > > Alex > > > > > > On Fri, Mar 17, 2017 at 7:56 PM, Ruslan Dautkhanov < > [email protected] > > > > > > wrote: > > > > > > > I can't find references to SQLOperator neither in the source code nor > > in > > > > the API Reference. > > > > > > > > Although it is mentioned in Concepts page : > > > > > > > > https://github.com/apache/incubator-airflow/blob/master/ > > > > docs/concepts.rst#operators > > > > > > > > > > > > > > > > - SqlOperator - executes a SQL command > > > > > > > > Sorry for basic questions - just started using Airflow this week. > > > > Did it got replaced with something else? If so what that is? > > > > > > > > > > > > > > > > Thanks, > > > > Ruslan Dautkhanov > > > > > > > > > >
