You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/04/17 09:45:00 UTC
[jira] [Commented] (IGNITE-12887) Node stops on type mismatch error
between index type and type of value from searched row
[ https://issues.apache.org/jira/browse/IGNITE-12887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085600#comment-17085600 ]
Ignite TC Bot commented on IGNITE-12887:
----------------------------------------
{panel:title=Branch: [pull/7659/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5228788&buildTypeId=IgniteTests24Java8_RunAll]
> Node stops on type mismatch error between index type and type of value from searched row
> ----------------------------------------------------------------------------------------
>
> Key: IGNITE-12887
> URL: https://issues.apache.org/jira/browse/IGNITE-12887
> Project: Ignite
> Issue Type: Task
> Components: sql
> Affects Versions: 2.8
> Reporter: Taras Ledkov
> Assignee: Taras Ledkov
> Priority: Critical
> Fix For: 2.8.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Steps to reproduce:
> 1. Create table with value fields types: (INT, OTHER) and create indexes for the fields:
> {code}
> CREATE TABLE TEST (ID INT PRIMARY KEY, val_int INT, VAL_OBJ OTHER)
> CREATE INDEX TEST_VAL_INT ON TEST(VAL_INT)
> CREATE INDEX TEST_VAL_OBJ ON TEST(VAL_OBJ)
> {code}
> 2. Add any data to the table:
> {code}
> INSERT INTO TEST VALUES (0, 0, ?)
> {code}
> 3. Any of the query below crushes and node stops:
> SELECT * FROM TEST WHERE VAL_OBJ < CURRENT_TIMESTAMP()
> SELECT * FROM TEST WHERE VAL_INT < CURRENT_TIMESTAMP()
> *Root cause*: all runtime exception inside {{Index.find}} is converted to {{CorruptedTreeException}} and stops the node,
--
This message was sent by Atlassian Jira
(v8.3.4#803005)