airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (AIRFLOW-1) Migrate GitHub code to Apache git
Date Sun, 19 Feb 2017 09:03:44 GMT


ASF subversion and git services commented on AIRFLOW-1:

Commit 44fcabc36048cd6e80660fc023afce85e3d435a0 in incubator-airflow's branch refs/heads/master
from [~gritlogic]
[;h=44fcabc ]

[AIRFLOW-809][AIRFLOW-1] Use __eq__ ColumnOperator When Testing Booleans

The .is_ ColumnOperator causes the SqlAlchemy's
MSSQL dialect to produce
IS 0 when given a value of False rather than a
value of None. The __eq__
ColumnOperator does this same test with the added
benefit that it will
modify the resulting expression from and == to a
IS NULL when the target
is None.

This change replaces all is_ ColumnOperators that
are doing boolean
comparisons and leaves all is_ ColumnOperators
that are checking for
None values.

Closes #2022 from gritlogic/AIRFLOW-809

> Migrate GitHub code to Apache git
> ---------------------------------
>                 Key: AIRFLOW-1
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: project-management
>            Reporter: Maxime Beauchemin
>            Assignee: Maxime Beauchemin

This message was sent by Atlassian JIRA

View raw message