diff --git a/docs/architecture/system_tables.md b/docs/architecture/system_tables.md index 1a69173e4bc77595ce4e443d03ef92574775f00b..48695924bd67c2bc88488085c13a66fbe2f15627 100644 --- a/docs/architecture/system_tables.md +++ b/docs/architecture/system_tables.md @@ -48,8 +48,8 @@ * `format`: (_array_, `[{"name": ..., "field_type": ..., "is_nullable": ...}]`) маÑÑив Ñловарей Ñ Ð¾Ð¿Ð¸Ñанием формата полей таблицы: - `name`: (_string_) название Ð¿Ð¾Ð»Ñ - - `field_type`: (_string_, `"any" | "unsigned" | "string" | "number" | - "double" | "integer" | "boolean" | "varbinary" | "scalar" | + - `field_type`: (_string_, `"any" | "unsigned" | "string" | + "double" | "integer" | "boolean" | "varbinary" | "decimal" | "uuid" | "datetime" | "interval" | "array" | "map"`) тип хранимого Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ - `is_nullable`: (_boolean_) возможноÑÑ‚ÑŒ хранить значение `NULL` diff --git a/docs/images/ebnf/type.svg b/docs/images/ebnf/type.svg index 6e6d428810b8ae1ba96713b1f00de58c61f58048..bcab4272dbe49dc91dc7a624cdbeaacec7af6132 100644 Binary files a/docs/images/ebnf/type.svg and b/docs/images/ebnf/type.svg differ diff --git a/docs/reference/ansi_sql.md b/docs/reference/ansi_sql.md index c0dc12f1400909d60d849f1c01dbe69a2ab6717d..ade59c19eeee1f55b8043b2d35a3c4630901d301 100644 --- a/docs/reference/ansi_sql.md +++ b/docs/reference/ansi_sql.md @@ -978,13 +978,6 @@ td.td3 ul { <td class="td3 center"></td> <td></td> </tr> -<!-- F471 Scalar subquery values --> - <tr class="tr-header"> - <td class="center"><span class="full">**F471**</span></td> - <td>**СкалÑрные Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð´Ð·Ð°Ð¿Ñ€Ð¾Ñов**</td> - <td class="td3 center">[SCALAR](sql_types.md#scalar)</td> - <td></td> - </tr> <!-- F481 Expanded NULL predicate --> <tr class="tr-header"> <td class="center"><span class="absent">**F481**</span></td> @@ -1096,12 +1089,6 @@ td.td3 ul { </tr> </thead> <tbody> - <tr> - <td class="center"><span class="full">—</span></td> - <td>Тип данных NUMBER</td> - <td class="td3 center">[NUMBER](sql_types.md#number)</td> - <td></td> - </tr> <tr> <td class="center"><span class="full">—</span></td> <td>Тип данных TEXT</td> diff --git a/docs/reference/sql_types.md b/docs/reference/sql_types.md index d5d40ef8c63263f5a320d81327121167b8621acb..d6291edb652c9cf7e21543b14357a076e4afa786 100644 --- a/docs/reference/sql_types.md +++ b/docs/reference/sql_types.md @@ -39,15 +39,6 @@ Типы `INT2`, `INT4`, `INT8`, `SMALLINT`, `BIGINT`, поддерживаемые в клиентах PostgreSQL, будут приведены в Picodata к типу `INT`. -## NUMBER {: #number } - -УниверÑальный чиÑловой контейнер, в котором могут лежать как целые чиÑла, так и чиÑла -Ñ Ð¿Ð»Ð°Ð²Ð°ÑŽÑ‰ÐµÐ¹ запÑтой. - -## SCALAR {: #scalar } - -СкалÑрный тип данных, Ñ‚.е Ñодержащий только один Ñлемент (_не_ кортеж и _не_ маÑÑив). - ## TEXT {: #text } ТекÑтовый тип данных. ПозволÑет хранить текÑтовую Ñтроку переменной длины. МакÑÐ¸Ð¼Ð°Ð»ÑŒÐ½Ð°Ñ diff --git a/docs/sql_index.md b/docs/sql_index.md index 3935a315ff7c861d5765d9f24507a5c5d4199a1f..b2ede7a627d0a1591068e90209dc0e304bf41a0e 100644 --- a/docs/sql_index.md +++ b/docs/sql_index.md @@ -123,10 +123,6 @@ article.md-typeset.md-typeset ul { * [MIN](reference/sql/aggregate.md#functions) * [motion](reference/sql/explain.md#data_motion_types) -<b>N</b> - -* [NUMBER](reference/sql_types.md#number) - <b>O</b> * [object](reference/sql/object.md) @@ -145,7 +141,6 @@ article.md-typeset.md-typeset ul { <b>S</b> -* [SCALAR](reference/sql_types.md#scalar) * [scan](reference/sql/explain.md#plan_structure) * [SELECT](reference/sql/select.md) * [sharding key](overview/glossary.md#sharding_key) diff --git a/docs/tutorial/create_plugin.md b/docs/tutorial/create_plugin.md index 9ce3196d28120fb7141e4f33450a5759f602ffdd..cd9ba4935621a0fac43e1a93f752199ff3548d85 100644 --- a/docs/tutorial/create_plugin.md +++ b/docs/tutorial/create_plugin.md @@ -254,9 +254,9 @@ I started with config: () CREATE TABLE "weather" ( id UUID NOT NULL, - latitude NUMBER NOT NULL, - longitude NUMBER NOT NULL, - temperature NUMBER NOT NULL, + latitude INTEGER NOT NULL, + longitude INTEGER NOT NULL, + temperature INTEGER NOT NULL, PRIMARY KEY (id) ) USING memtx diff --git a/docs/tutorial/plugins.md b/docs/tutorial/plugins.md index 5cef30af2e1ff8f89bf78c7f20f915f4c5a0636c..0b137bdca7d83e550776f5d4ac8fe9904fd9988d 100644 --- a/docs/tutorial/plugins.md +++ b/docs/tutorial/plugins.md @@ -107,9 +107,9 @@ OpenWeather). CREATE TABLE "weather" ( id UUID NOT NULL, - latitude NUMBER NOT NULL, - longitude NUMBER NOT NULL, - temperature NUMBER NOT NULL, + latitude INTEGER NOT NULL, + longitude INTEGER NOT NULL, + temperature INTEGER NOT NULL, PRIMARY KEY (id) ) USING memtx