[tarantool-patches] Re: [PATCH] sql: set names for constant fields within VIEW

  • From: Kirill Yukhin <kyukhin@xxxxxxxxxxxxx>
  • To: tarantool-patches@xxxxxxxxxxxxx
  • Date: Fri, 14 Dec 2018 08:15:48 +0300

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

Other related posts: