From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E768A22E8D for ; Fri, 14 Dec 2018 00:15:52 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8HN6UYPtBcWk for ; Fri, 14 Dec 2018 00:15:52 -0500 (EST) Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id A041222726 for ; Fri, 14 Dec 2018 00:15:52 -0500 (EST) Date: Fri, 14 Dec 2018 08:15:48 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH] sql: set names for constant fields within VIEW Message-ID: <20181214051548.ho44dqm3ti5mo4o2@tarantool.org> References: <20181203220354.81845-1-korablev@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181203220354.81845-1-korablev@tarantool.org> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org, Nikita Pettik Hello, On 04 Dec 01:03, Nikita Pettik wrote: > If VIEW contains constant fields (e.g. CREATE VIEW v AS SELECT 1, 'k';) > it uses string representation of literal as a field name. In the example > above it would be '1' and 'k'. However, if VIEW is created using AS VALUES > syntax, then expressions representing constant literals lack of names > (since span-expression is not assigned in this case). > Lets generate names for all fields which lack names for VIEW. > > Closes #3849 > --- > Branch: https://github.com/tarantool/tarantool/commits/np/gh-3849-view-constant-value-v2 > Issue: https://github.com/tarantool/tarantool/issues/3849 I've pushed v2 of the patch to 2.1 branch. -- Regards, Kirill Yukhin