snowflake_hook.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:airflow-snowflake 作者: aberdave 项目源码 文件源码
def get_pandas_df(self, sql):
        """
        We need to overide this method in order to use connections other than the default_conn_name
        :param sql: A query input via the web UI at /admin/queryview/
        :return: a Panda data frame
        """
        conn = self.get_conn(self.snowflake_conn_id)
        df = pd.read_sql_query(sql, conn)
        return df
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号