tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-182) Correct NULL value handling of primitive operators
Date Mon, 23 Dec 2013 05:25:51 GMT

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

Hudson commented on TAJO-182:
-----------------------------

FAILURE: Integrated in Tajo-trunk-postcommit #634 (See [https://builds.apache.org/job/Tajo-trunk-postcommit/634/])
TAJO-182: Correct NULL value handling of primitive operators. (hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=e8c5c27717e134264a93a0430521a07c45079215)
* tajo-common/src/main/java/org/apache/tajo/datum/Inet4Datum.java
* tajo-common/src/main/java/org/apache/tajo/datum/BitDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/TimeDatum.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/eval/PatternMatchPredicateEval.java
* tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/eval/TestSQLExpression.java
* tajo-common/src/main/java/org/apache/tajo/datum/Int8Datum.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/physical/NLLeftOuterJoinExec.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java
* tajo-common/src/main/java/org/apache/tajo/datum/CharDatum.java
* CHANGES.txt
* tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/query/TestJoinQuery.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/physical/HashLeftOuterJoinExec.java
* tajo-common/src/main/java/org/apache/tajo/datum/TimestampDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/DateDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/Int4Datum.java
* tajo-core/tajo-core-backend/src/test/java/org/apache/tajo/engine/function/TestStringOperatorsAndFunctions.java
* tajo-common/src/main/java/org/apache/tajo/datum/Int2Datum.java
* tajo-common/src/main/java/org/apache/tajo/datum/NullDatum.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/eval/BinaryEval.java
* tajo-common/src/main/java/org/apache/tajo/datum/Float4Datum.java
* tajo-common/src/main/java/org/apache/tajo/datum/BooleanDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/BlobDatum.java
* tajo-core/tajo-core-backend/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4
* tajo-common/src/main/java/org/apache/tajo/datum/DatumFactory.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/physical/HashFullOuterJoinExec.java
* tajo-common/src/test/java/org/apache/tajo/datum/TestBoolDatum.java
* tajo-common/src/main/java/org/apache/tajo/datum/Float8Datum.java
* tajo-common/src/main/java/org/apache/tajo/datum/TextDatum.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/eval/CastEval.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/planner/physical/SeqScanExec.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/InCountry.java
* tajo-common/src/main/java/org/apache/tajo/datum/Datum.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/eval/InEval.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/engine/function/string/SplitPart.java


> Correct NULL value handling of primitive operators
> --------------------------------------------------
>
>                 Key: TAJO-182
>                 URL: https://issues.apache.org/jira/browse/TAJO-182
>             Project: Tajo
>          Issue Type: Bug
>          Components: planner/optimizer
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>            Priority: Critical
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-182.patch, TAJO-182_2.patch, TAJO-182_3.patch
>
>
> -If some domain value is compared to Null value, the current implementation will cause
InvalidOperationException. Such cases should result in 'false'.-
> -If some domain value is compared to Null value, the current implementation will cause
either InvalidOperationException or FALSE. Such cases should result in NULL.-
> Many primitive operators including arithmetic and comparison do not consider three valued
logic. This patch corrects this problem. The original issue title was 'Comparison of primitive
values including null value should return NULL.' This issue was expanded for null value handling
of all primitive operators.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message