From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Nikita Pettik <korablev@tarantool.org>,
tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH] sql: fix index consideration with INDEXED BY clause
Date: Fri, 27 Dec 2019 14:31:31 +0300 [thread overview]
Message-ID: <d94124fc-6ab6-7e9a-1008-3a79097026c5@tarantool.org> (raw)
In-Reply-To: <4189b72ec3cd58478e899ac669b5aaaf4e1077a7.1577321174.git.korablev@tarantool.org>
Hi! Thanks for the patch! LGTM.
On 26/12/2019 01:48, Nikita Pettik wrote:
> Accidentally, number of indexes to be considered during query planning
> in presence of INDEXED BY is calculated wrong. Instead of one (INDEXED
> BY is not a hint but requirement) index to be used (which is indicated
> in INDEXED BY clause), all space indexes take part in query planning.
> There are not so many tests checking this feature, so unfortunately this
> bug was hidden. Let's fix it and force only one index to be used in QP
> in case of INDEXED BY clause.
> ---
> Branch: https://github.com/tarantool/tarantool/tree/np/sql-indexed-by-fix
next prev parent reply other threads:[~2019-12-27 11:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-26 0:48 Nikita Pettik
2019-12-27 11:31 ` Vladislav Shpilevoy [this message]
2019-12-27 11:48 ` Nikita Pettik
2019-12-27 14:20 ` Nikita Pettik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d94124fc-6ab6-7e9a-1008-3a79097026c5@tarantool.org \
--to=v.shpilevoy@tarantool.org \
--cc=korablev@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH] sql: fix index consideration with INDEXED BY clause' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox