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

Kirill Yukhin kyukhin at tarantool.org
Fri Dec 14 08:15:48 MSK 2018


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




More information about the Tarantool-patches mailing list