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 0097F200C60 for ; Mon, 24 Apr 2017 18:14:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F3331160BA5; Mon, 24 Apr 2017 16:14:09 +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 493FB160B99 for ; Mon, 24 Apr 2017 18:14:09 +0200 (CEST) Received: (qmail 55434 invoked by uid 500); 24 Apr 2017 16:14:08 -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 55425 invoked by uid 99); 24 Apr 2017 16:14:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Apr 2017 16:14:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 06E28C028B for ; Mon, 24 Apr 2017 16:14:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id NwoNyglIXKb3 for ; Mon, 24 Apr 2017 16:14:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5E8205FE4B for ; Mon, 24 Apr 2017 16:14:05 +0000 (UTC) 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 9E7CFE0A34 for ; Mon, 24 Apr 2017 16:14:04 +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 31D8C21B57 for ; Mon, 24 Apr 2017 16:14:04 +0000 (UTC) Date: Mon, 24 Apr 2017 16:14:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3487) _key and _val fields should be excluded from 'select * from' queries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 24 Apr 2017 16:14:10 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981429#comment-15981429 ] ASF GitHub Bot commented on IGNITE-3487: ---------------------------------------- GitHub user skalashnikov opened a pull request: https://github.com/apache/ignite/pull/1865 IGNITE-3487: hidden _key and _val columns You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-3487 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/1865.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1865 ---- ---- > _key and _val fields should be excluded from 'select * from' queries > -------------------------------------------------------------------- > > Key: IGNITE-3487 > URL: https://issues.apache.org/jira/browse/IGNITE-3487 > Project: Ignite > Issue Type: Improvement > Components: SQL > Affects Versions: 1.6 > Reporter: Valentin Kulichenko > Assignee: Sergey Kalashnikov > Labels: important > Fix For: 2.0 > > > We have a pretty serious usability issue - predefined {{_key}} and {{_val}} fields are returned when query like {{select * from}} is executed. First of all, this is counterintuitive because user never defines or configures these fields. Second of all, they actually duplicate all other fields. And finally, they cause serialization exceptions because classes for key and value are not always available. > We should exclude these fields from {{select * from}} queries, but this is a compatibility breaking change. It should be done in 2.0. -- This message was sent by Atlassian JIRA (v6.3.15#6346)