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

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

Commit 9a53e66390670c7a9e4206f0a3ef4a19c1baae72 in incubator-airflow's branch 
refs/heads/v1-8-test from [~gritlogic]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=9a53e66 ]

[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: https://issues.apache.org/jira/browse/AIRFLOW-1
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: project-management
>            Reporter: Maxime Beauchemin
>            Assignee: Maxime Beauchemin
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to