Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/2] Make TPC-H run again
@ 2020-04-29 17:52 Timur Safin
  2020-04-29 17:52 ` [Tarantool-patches] [PATCH 1/2] Restore partial date/time support in Tarantool SQL Timur Safin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Timur Safin @ 2020-04-29 17:52 UTC (permalink / raw)
  To: korablev, imeevma; +Cc: tarantool-patches

NB! This is not going to be submitted, and I'm sending this 
patch-set to just make visible all necessary patches, to keep 
it for later usage with TPC-H queries we ought to run regularly.

We restore preliminary DATE types support (right now that would 
mean simple STRING) with a set of built-in SQL functions, which
were necessary to make run big chunk (13 out of 22) of SQL TPC-H 
benchmark queries. 

There is opinion that we do not want make date support available
as officially supported, to avoid future data migrations, once we 
will complete proper datetime types support based on decimals. 
So I'll keep these patches handy for foresable future...

GH issue: https://github.com/tarantool/tarantool/issues/4898
GitHub branch:
https://github.com/tarantool/tarantool/tree/tsafin/sql-datetime-mocks

Timur Safin (2):
  Restore partial date/time support in Tarantool SQL
  Restore date/datetime tests

 extra/mkkeywordhash.c                |  10 +--
 src/box/sql/date.c                   |  70 +++------------
 src/box/sql/dateInt.h                | 122 +++++++++++++++++++++++++++
 src/box/sql/func.c                   |  49 +++++------
 src/box/sql/parse.y                  |  27 +++---
 test/sql-tap/date.test.lua           |   4 -
 test/sql-tap/keyword1.test.lua       |   5 +-
 test/sql-tap/table.test.lua          |   6 +-
 test/sql-tap/tkt-7bbfb7d442.test.lua |   4 +-
 test/sql-tap/tkt-bd484a090c.test.lua |   6 +-
 test/sql-tap/tkt2192.test.lua        |   6 +-
 test/sql-tap/tkt3791.test.lua        |   5 +-
 test/sql/triggers.result             |   4 +-
 test/sql/triggers.test.lua           |   4 +-
 14 files changed, 186 insertions(+), 136 deletions(-)
 create mode 100644 src/box/sql/dateInt.h

-- 
2.20.1

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

end of thread, other threads:[~2020-04-30  8:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 17:52 [Tarantool-patches] [PATCH 0/2] Make TPC-H run again Timur Safin
2020-04-29 17:52 ` [Tarantool-patches] [PATCH 1/2] Restore partial date/time support in Tarantool SQL Timur Safin
2020-04-29 17:52 ` [Tarantool-patches] [PATCH 2/2] Restore date/datetime tests Timur Safin
2020-04-30  8:05 ` [Tarantool-patches] [PATCH 0/2] Make TPC-H run again Timur Safin

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