airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-2030) dbapi_hook KeyError: 'i' at line 225
Date Fri, 26 Jan 2018 19:04:00 GMT

    [ 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)

Mime
View raw message