You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/07/18 02:09:51 UTC

[GitHub] [airflow] eladkal edited a comment on issue #5515: [AIRFLOW-4879] add poll_interval and schema to PrestoHook

eladkal edited a comment on issue #5515:  [AIRFLOW-4879] add poll_interval and schema to PrestoHook
URL: https://github.com/apache/airflow/pull/5515#issuecomment-512635357
 
 
   @mik-Iaj I'm aware yet I'm not sure how to fix this.
   The test is very similar to the postgres test https://github.com/apache/airflow/blob/master/tests/hooks/test_postgres_hook.py#L46
   
   can you give some pointers to why
   `@mock.patch('airflow.hooks.postgres_hook.psycopg2.connect') `
   works but
   ` @mock.patch('airflow.hooks.presto_hook.pyhive.presto.connect')`
   fails on `No module named 'airflow.hooks.presto_hook.pyhive';`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services