- Nov 14, 2024
-
-
EmirVildanov authored
-
- Nov 02, 2024
-
-
Disabling the tracing feature has shown a significant performance improvement of 72.50%, as demonstrated in https://git.picodata.io/picodata/picodata/picodata/-/issues/1026#note_107222. This commit disables "tracing" feature for sbroad and eliminates the opentelemetry wrappers and statistics tables.
-
- Oct 16, 2024
-
-
Now SQL explain shows the user what buckets the query would be executed on. Some results are exact, others are not (we return `buckets: unknown` or `buckets: <= [..]` according to the query).
-
- Oct 10, 2024
-
-
There was a bug when SQL statistics LRU removed some old query from the _sql_query table. The query ref_counter field in unsigned, but the code decremented it below zero in the space on eviction. That produced an error (fixed).
-
- Sep 27, 2024
-
-
Arseniy Volynets authored
-
- Sep 23, 2024
-
-
Arseniy Volynets authored
-
- Sep 13, 2024
-
-
Andrey Strochuk authored
-
Kurdakov Alexander authored
Changed sbroad vshard related traits and it's capabilities about working with several vshard groups
-
- Sep 10, 2024
-
-
-
Denis Smirnov authored
1. A better VDBE caching was implemented for local SQL. 2. Local SQL is called via C API rather then Lua. 3. A new prepare-unprepare fiber added to manage SQL statement cache.
-
- Aug 26, 2024
-
-
- update sbroad submodule to commit with new normalization rules - update integration tests
-
- Aug 02, 2024
-
-
Вартан Бабаян authored
-
- Jun 26, 2024
-
-
Kurdakov Alexander authored
-
- Jun 21, 2024
-
-
Arseniy Volynets authored
- update sbroad submodule to commit with helper patches for dml on global tables - add support for sql dml insert/update/delete on global tables. Insert on conflict is not supported yet - Current implementation uses a single batch of dml commands via CAS. No additional predicates are used in CAS, so no isolation level is guaranteed even when query only refers to global tables
-
- Jun 14, 2024
-
-
Егор Ивков authored
- rename it to proc_sql_dispatch - modify args so that it's more suitable for public RPC API
-
Georgy Moshkin authored
-
- Jun 05, 2024
-
-
Georgy Moshkin authored
Previously when running `pico.sql [[ create table foo ]]` we would get this output: ``` --- - null - "sbroad: rule parsing error: --> 1:9\n |\n1 | create table foo \n | ^---\n \ |\n = expected Unique" ... ``` But now the output will be: ``` --- - null - |+ sbroad: rule parsing error: --> 1:9 | 1 | create table foo | ^--- | = expected Unique ... ```
-
- May 28, 2024
-
-
- May 27, 2024
-
-
The backend module implements the logic for handling postgres messages. Note that this commit doesn't bring anything new: it just moves picodata's handlers into pgproto.
-
- May 08, 2024
-
-
Denis Smirnov authored
-
- update sbroad submodule to commit with support of UNION operator - add integration tests for global tables (sharded tables were tested in cartridge tests) - Usage: `select a from t union select b from t2`
-
-
- May 06, 2024
-
-
It syncs API with new sbroad's one. For more context refer to sbroad!424
-
- Apr 22, 2024
-
-
- Apr 16, 2024
-
-
- update sbroad submodule with support of datetime type and new `to_date` builtin function. - initialize sbroad builtin functions in init common. Currently there is only one builtin function `to_date` - add integration tests for datetime types - update tarantool module to commit with fixes for datetime deserialization
-
- Apr 12, 2024
-
-
Egor Ivkov authored
-
Egor Ivkov authored
-
- Apr 10, 2024
-
-
Andrey Strochuk authored
We have recently replaced String with SmolStr in sbroad. As a result, we need to make corresponding changes in picodata as it uses sbroad-core for cluster SQL.
-
-
Denis Smirnov authored
BREAKING CHANGE: "name" index in the _pico_index has changed: previously it guarantees uniqueness for a pair of (space_id, index_name). Now index name must be unique among the cluster. So, all the global indexes for _pico tables were renamed.
-
Denis Smirnov authored
-
- Mar 07, 2024
-
-
Georgy Moshkin authored
-
Maksim Kaitmazian authored
This commit introduces: * statement and portal storages; * statements with parameter oids; * portal encoding; * interactive portals; Portal encoding defines in which format (binary or text) columns are returned. Interactive portals allow to limit the number of rows returned from execute method. Other rows can be extracted by calling execute again on the same portal.
-
-
- Mar 04, 2024
-
-
Arseniy Volynets authored
- add new ddl opcode for renaming procedure - update sbroad submodule to get sql support - syntax: alter procedure "foo" rename to "bar" option(timeout=3) alter procedure "foo"(int, int) rename to "bar"
-
- Feb 26, 2024
-
-
EmirVildanov authored
-
- Feb 22, 2024
-
-
Denis Smirnov authored
-
-
- Feb 20, 2024
-
-
Arseniy Volynets authored
- Update sbroad submodule to commit, with refactored tracing api: tracer can be provided by library user (us). - Use tracer that creates traces under admin, because traces are created randomly for 1% of the queries and the user may not have the privileges to create/modify tracing tables - Move tracing related logic to picodata repo. In particular, now all tables storing tracing - Add sql tests that were removed from sbroad during refactoring - added extra parameter 'query_id' to pico.sql lua api. 'query_id' is used to identify each query in tracing tables, if not specified hash function on query text is used. - changed signature of pico.sql to: pico.sql(pattern[, params, options) options={'traceable'=boolean,'query_id'=string}
-
- Feb 06, 2024
-
-
Denis Smirnov authored
Current commit introduces - _pico_routine replicated table - procedure creation with SQL API
-