From issues-return-93950-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Fri Mar 22 09:01:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0D027180657 for ; Fri, 22 Mar 2019 10:01:01 +0100 (CET) Received: (qmail 2089 invoked by uid 500); 22 Mar 2019 09:01:01 -0000 Mailing-List: contact issues-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 issues@ignite.apache.org Received: (qmail 2068 invoked by uid 99); 22 Mar 2019 09:01:00 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Mar 2019 09:01:00 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 57496E0708 for ; Fri, 22 Mar 2019 09:01:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 18AFC24597 for ; Fri, 22 Mar 2019 09:01:00 +0000 (UTC) Date: Fri, 22 Mar 2019 09:01:00 +0000 (UTC) From: "Alexey Goncharuk (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-11604) Drop column does not remove column from internal schema MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Alexey Goncharuk created IGNITE-11604: ----------------------------------------- Summary: Drop column does not remove column from internal schema Key: IGNITE-11604 URL: https://issues.apache.org/jira/browse/IGNITE-11604 Project: Ignite Issue Type: Bug Reporter: Alexey Goncharuk Discovered this during the work on IGNITE-11541 (see {{StaticCacheDdlTest.testDropColumn}}). After a quick debug I see the following: in {{GridQueryProcessor#onSchemaFinishDiscovery}} we call {{DynamicCacheDescriptor.schemaChangeFinish(msg)}}, which eventually calls {{QuerySchema.finish(op)}}. Inside that method we have the following: the {{message.columns()}} collection has the field name in upper case (in the test it's "FIELD_TO_DROP"), but the entity's fields map contains lower-case names ("field_to_drop"). As a result, we do not remove the field from the query entity, this query entity is saved to the stored cache data and field re-appears after restart. -- This message was sent by Atlassian JIRA (v7.6.3#76005)