You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/01/26 19:04:00 UTC

[jira] [Commented] (AIRFLOW-2030) dbapi_hook KeyError: 'i' at line 225

    [ https://issues.apache.org/jira/browse/AIRFLOW-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341444#comment-16341444 ] 

ASF subversion and git services commented on AIRFLOW-2030:
----------------------------------------------------------

Commit 0565bdc4ea8c9625eac253865bb91aac293d0300 in incubator-airflow's branch refs/heads/master from [~untwal]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=0565bdc ]

[AIRFLOW-2030] Fix KeyError:`i` in DbApiHook for insert

Closes #2972 from untwal/dbahook/fix_key_error


> dbapi_hook KeyError: 'i' at line 225
> ------------------------------------
>
>                 Key: AIRFLOW-2030
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2030
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: db
>    Affects Versions: 1.9.0
>            Reporter: Manish Kumar Untwal
>            Assignee: Manish Kumar Untwal
>            Priority: Major
>             Fix For: 2.0.0
>
>
> There is no local variable defined for zero rows, so the logger throws an KeyError for local variable 'i' at 225 line in  dbapi_hook.py



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)