Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9753E200BD1 for ; Mon, 28 Nov 2016 13:18:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 960F6160B0D; Mon, 28 Nov 2016 12:18:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E0BB0160B06 for ; Mon, 28 Nov 2016 13:18:00 +0100 (CET) Received: (qmail 43231 invoked by uid 500); 28 Nov 2016 12:18:00 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 43210 invoked by uid 99); 28 Nov 2016 12:18:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2016 12:18:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6E53A2C03DB for ; Mon, 28 Nov 2016 12:17:58 +0000 (UTC) Date: Mon, 28 Nov 2016 12:17:58 +0000 (UTC) From: "Sergey Kozlov (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-4323) DML: INSERT INTO SELECT .. FROM statement causes IgniteException: Wrong value has been set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 28 Nov 2016 12:18:01 -0000 Sergey Kozlov created IGNITE-4323: ------------------------------------- Summary: DML: INSERT INTO SELECT .. FROM statement causes IgniteException: Wrong value has been set Key: IGNITE-4323 URL: https://issues.apache.org/jira/browse/IGNITE-4323 Project: Ignite Issue Type: Bug Affects Versions: 1.8 Reporter: Sergey Kozlov Fix For: 1.8 The idea of scenario to copy data from cache to cache. 0. Extract the attachment into {{examples}} directory 1. Start {{org.apache.ignite.examples.datagrid.ExtSqlExampleNodeStartup}} 2. Start one ore more {{org.apache.ignite.examples.datagrid.ExtSqlExample}} {noformat} Exception in thread "main" javax.cache.CacheException: class org.apache.ignite.IgniteException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:761) at org.apache.ignite.examples.datagrid.ExtSqlExample.main(ExtSqlExample.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) Caused by: class org.apache.ignite.IgniteException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:817) at org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:749) ... 6 more Caused by: class org.apache.ignite.IgniteCheckedException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1800) at org.apache.ignite.internal.processors.query.GridQueryProcessor.queryTwoStep(GridQueryProcessor.java:810) ... 7 more Caused by: class org.apache.ignite.binary.BinaryObjectException: Wrong value has been set [typeName=org.apache.ignite.testtools.model.AllTypes, fieldName=enumCol, fieldType=Enum, assignedValueType=Object] at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.checkMetadata(BinaryObjectBuilderImpl.java:418) at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.serializeTo(BinaryObjectBuilderImpl.java:227) at org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl.build(BinaryObjectBuilderImpl.java:187) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.rowToKeyValue(DmlStatementsProcessor.java:809) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.doInsert(DmlStatementsProcessor.java:705) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.executeUpdateStatement(DmlStatementsProcessor.java:282) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFields(DmlStatementsProcessor.java:155) at org.apache.ignite.internal.processors.query.h2.DmlStatementsProcessor.updateSqlFieldsTwoStep(DmlStatementsProcessor.java:185) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.queryTwoStep(IgniteH2Indexing.java:1266) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:812) at org.apache.ignite.internal.processors.query.GridQueryProcessor$4.applyx(GridQueryProcessor.java:810) at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(IgniteOutClosureX.java:36) at org.apache.ignite.internal.processors.query.GridQueryProcessor.executeQuery(GridQueryProcessor.java:1777) ... 8 more {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)