Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v2 0/3] sql: fix NUMBER type
@ 2019-12-30 13:01 imeevma
  2019-12-30 13:01 ` [Tarantool-patches] [PATCH v2 1/3] sql: allow conversion of numeric binary values to DOUBLE imeevma
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: imeevma @ 2019-12-30 13:01 UTC (permalink / raw)
  To: korablev; +Cc: tarantool-patches

This patch-set makes number to be union of UNSIGNED, INTEGER and
DOUBLE numeric types. Also it fixes couple of small bugs of DOUBLE
type.

https://github.com/tarantool/tarantool/issues/4233
https://github.com/tarantool/tarantool/tree/imeevma/gh-4233-fix-number-field-type-in-sql

Mergen Imeev (3):
  sql: allow conversion of numeric binary values to DOUBLE
  sql: fix typeof() for double values
  sql: make NUMBER to be union of SQL numeric types

 src/box/sql/func.c                   |   2 +-
 src/box/sql/vdbe.c                   |  15 +---
 src/box/sql/vdbeInt.h                |   1 -
 src/box/sql/vdbemem.c                |  46 ++-----------
 test/sql-tap/cast.test.lua           |  44 ++++++------
 test/sql-tap/check.test.lua          |   4 +-
 test/sql-tap/e_select1.test.lua      |   2 +-
 test/sql-tap/func.test.lua           |   4 +-
 test/sql-tap/numcast.test.lua        | 128 ++++++++++++++++++++++++++++++++++-
 test/sql-tap/select3.test.lua        |   8 +--
 test/sql-tap/sort.test.lua           |  12 ++--
 test/sql-tap/tkt-80e031a00f.test.lua |   8 +--
 test/sql-tap/tkt-91e2e8ba6f.test.lua |  12 ++--
 test/sql/integer-overflow.result     |   2 +-
 test/sql/types.result                |   9 ++-
 test/sql/types.test.lua              |   9 +++
 16 files changed, 198 insertions(+), 108 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-12-31  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-30 13:01 [Tarantool-patches] [PATCH v2 0/3] sql: fix NUMBER type imeevma
2019-12-30 13:01 ` [Tarantool-patches] [PATCH v2 1/3] sql: allow conversion of numeric binary values to DOUBLE imeevma
2019-12-30 13:17   ` Nikita Pettik
2019-12-31  8:16     ` Mergen Imeev
2019-12-30 13:01 ` [Tarantool-patches] [PATCH v2 2/3] sql: fix typeof() for double values imeevma
2019-12-30 13:01 ` [Tarantool-patches] [PATCH v2 3/3] sql: make NUMBER to be union of SQL numeric types imeevma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox