Skip to content

First variant of depends tracking - works only for procedures - #9125

Open
AlexPeshkoff wants to merge 31 commits into
masterfrom
depend_update
Open

AlexPeshkoff wants to merge 31 commits into
masterfrom
depend_update

Conversation

@AlexPeshkoff

Copy link
Copy Markdown
Member

I present for early review solution that should solve some "regressions" with new metadata cache. Word regressions is quoted cause pre-fb6 some specific changes in database (like changed number of output procedure parameters) under some circumstances kept dependent objects working correctly without recompile of that dependent objects. That was pure lucky cases among other failing - but people used that and do not get format outdated error instead.

The overall idea is simple - if one needs to do some breaking changes in a set of objects (currently only procedures but others will work in same manner) this can be done in single transaction and everything needed will be recompiled on commit. Certainly that commit fails if compilation fails - but one can fix errors and repeat commit.

This PR is not ready for merge yet (all objects to be taken into an account) - but one who interested can play with procedures right now.

@AlexPeshkoff AlexPeshkoff self-assigned this Aug 14, 2026
AlexPeshkoff and others added 28 commits August 15, 2026 20:46
…format` for `blr_int128` (#9124)

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
…he specified plan' when the query contains a LEFT OUTER JOIN
Co-authored-by: asfernandes <asfernandes@users.noreply.github.com>
…f our internal allocator (#9152)

Co-authored-by: Artyom Ivanov <artyom.ivanov@red-soft.ru>
…res in numeric literals (SQL:2023 T662) (#8564)

* Adding SQL-compliant names to existing MAXVALUE/MINVALUE functions

* Correcting the description. Adding words to keyword_or_column

* Improved description

* Add support non-decimal integer literals and underscores in numeric literals

* Fix numeric literals lexer after merge with master

  - Restore introducer handling lost in the merge: the lexer returns
    INTRODUCER only and the charset name is parsed by the grammar
    (schema_opt_qualified_name). Keep the T662 check for an underscore
    before a digit or a period.
  - Restore constexpr/noexcept in chars.h and const in Parser.cpp
    lost in the merge.
  - Return LIMIT64_INT/LIMIT64_NUMBER for exactly MAX_SINT64 + 1
    (decimal and non-decimal), so START WITH and SET GENERATOR accept
    -9223372036854775808 and -0x8000000000000000 again.
  - Keep data types of decimal literals unchanged: remove the DBL_DIG
    rule (16+ fractional digits produced DECFLOAT), use DECFLOAT for
    an approximate literal with a mantissa wider than 64 bits or
    |exponent| > DBL_MAX_10_EXP, and for scale < MIN_SCHAR.
  - Follow the README grammar: accept "1." and reject "1e", "1e+"
    and "1e-".
  - README: fix examples and the <mantissa> rule, describe data types
    of non-decimal literals and the incompatibility with old
    hexadecimal literals.
…ed when a comparison references a field with the same field id from another table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants