Skip to content
Snippets Groups Projects
  1. Nov 14, 2024
  2. Nov 02, 2024
  3. Oct 16, 2024
  4. Oct 10, 2024
    • Denis Smirnov's avatar
      fix: _sql_query eviction query logic · 585ae0b4
      Denis Smirnov authored and Dmitry Rodionov's avatar Dmitry Rodionov committed
      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).
      585ae0b4
  5. Sep 27, 2024
  6. Sep 23, 2024
  7. Sep 13, 2024
  8. Sep 10, 2024
  9. Aug 26, 2024
  10. Aug 02, 2024
  11. Jun 26, 2024
  12. Jun 21, 2024
    • Arseniy Volynets's avatar
      feat: support sql dml for global tbls · 0cc18871
      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
      0cc18871
  13. Jun 14, 2024
  14. Jun 05, 2024
    • Georgy Moshkin's avatar
      fix: pretty sql parsing error messages · d1d90c86
      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
      
      ...
      ```
      d1d90c86
  15. May 28, 2024
  16. May 27, 2024
  17. May 08, 2024
  18. May 06, 2024
  19. Apr 22, 2024
  20. Apr 16, 2024
    • Arseniy Volynets's avatar
      feat: support datetime type in sql · a2143d90
      Arseniy Volynets authored and Denis Smirnov's avatar Denis Smirnov committed
      - 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
      a2143d90
  21. Apr 12, 2024
  22. Apr 10, 2024
  23. Mar 07, 2024
  24. Mar 04, 2024
    • Arseniy Volynets's avatar
      feat: support rename procedure from sql · dd17afb3
      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"
      dd17afb3
  25. Feb 26, 2024
  26. Feb 22, 2024
  27. Feb 20, 2024
    • Arseniy Volynets's avatar
      refactor: move tracing from sbroad to picodata · 598ffbf4
      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}
      598ffbf4
  28. Feb 06, 2024
Loading