Tarantool development patches archive
 help / color / mirror / Atom feed
From: Roman Khabibov <roman.habibov@tarantool.org>
To: tarantool-patches@dev.tarantool.org
Cc: v.shpilevoy@tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v2 0/2] Support column addition with <ALTER TABLE>
Date: Fri, 3 Apr 2020 20:40:16 +0300	[thread overview]
Message-ID: <BCDB5519-76F1-4AE5-9550-6D9C6C2A0D7E@tarantool.org> (raw)
In-Reply-To: <20200403152752.8923-1-roman.habibov@tarantool.org>

Oops. I hurry up.  Done, now I have created a template document.
This is the last time.

@Changelog
- Add ability to add a column to a space with <ALTER TABLE ADD COLUMN>.

Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-3075-add-column-v2
Issue: https://github.com/tarantool/tarantool/issues/3075,
https://github.com/tarantool/tarantool/issues/2349

> On Apr 3, 2020, at 18:27, Roman Khabibov <roman.habibov@tarantool.org> wrote:
> 
> According to the SQL standard, column definition in a
> <CREATE TABLE> and a <ALTER TABLE ADD COLUMN> is the same. So, I
> decided to support Tarantool features like AUTOINCREMENT in the
> alter column description.
> 
> Roman Khabibov (2):
>  sql: rename TK_COLUMN to TK_COLUMN_NAME
>  sql: support column addition
> 
> extra/addopcodes.sh          |   2 +-
> extra/mkkeywordhash.c        |   5 +-
> src/box/errcode.h            |   2 +
> src/box/schema_def.h         |   1 +
> src/box/sql/alter.c          |   1 +
> src/box/sql/build.c          | 596 +++++++++++++++++++++++------------
> src/box/sql/expr.c           |  42 +--
> src/box/sql/fk_constraint.c  |   2 +-
> src/box/sql/parse.y          |  45 ++-
> src/box/sql/parse_def.h      |  62 ++--
> src/box/sql/prepare.c        |   8 +-
> src/box/sql/resolve.c        |  10 +-
> src/box/sql/select.c         |  10 +-
> src/box/sql/sqlInt.h         |  58 +++-
> src/box/sql/treeview.c       |   2 +-
> src/box/sql/where.c          |  18 +-
> src/box/sql/whereexpr.c      |  12 +-
> test/box/error.result        |   2 +
> test/sql/add-column.result   | 231 ++++++++++++++
> test/sql/add-column.test.lua |  87 +++++
> 20 files changed, 892 insertions(+), 304 deletions(-)
> create mode 100644 test/sql/add-column.result
> create mode 100644 test/sql/add-column.test.lua
> 
> -- 
> 2.21.0 (Apple Git-122)
> 

  parent reply	other threads:[~2020-04-03 17:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-03 15:27 Roman Khabibov
2020-04-03 15:27 ` [Tarantool-patches] [PATCH v2 1/2] sql: rename TK_COLUMN to TK_COLUMN_NAME Roman Khabibov
2020-04-24 22:55   ` Vladislav Shpilevoy
2020-08-11  0:34     ` Roman Khabibov
2020-04-03 15:27 ` [Tarantool-patches] [PATCH v2 2/2] sql: support column addition Roman Khabibov
2020-04-24 22:56   ` Vladislav Shpilevoy
2020-07-06 13:37     ` Roman Khabibov
2020-07-12 16:45       ` Vladislav Shpilevoy
2020-08-11  0:34         ` Roman Khabibov
2020-08-19 22:20           ` Vladislav Shpilevoy
2020-09-11 21:51             ` Roman Khabibov
2020-04-03 17:40 ` Roman Khabibov [this message]
2020-11-18 17:23 ` [Tarantool-patches] [PATCH v2 0/2] Support column addition with <ALTER TABLE> Alexander V. Tikhonov
2020-11-18 23:07   ` 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=BCDB5519-76F1-4AE5-9550-6D9C6C2A0D7E@tarantool.org \
    --to=roman.habibov@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v2 0/2] Support column addition with <ALTER TABLE>' \
    /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