| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | YT-21233: Adjust (To/From)ErrorAttributeValue CPOs, revert ConvertTo ↵ | arkady-e1ppa | 2024-12-25 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | becoming CPO, move TErrorCode and TError to library/cpp/yt/error \[nodiff:caesar\] List of changes: 1) Make `ConvertTo` a normal function again (basically, a revert of previous change). It turned out to be very inconvenient entry point 2) Introduce concept for "Primitive types" which are handled without yt/core module. Please note that inclusion of core **does not** affect work with primitive types (otherwise we would be facing and ODR violation). These are numerics, duration, instant, string-like objects and guid 3) Introduce `FromErrorAttributeValue` which is a substitute to `ConvertTo` with special behavior (see below) 4) Scheme for (de-)serialization has changed: 1) Primitive types are handled via `ConvertToTextYsonString` and `ConvertFromTextYsonString` 2) Other types are not supported without yt/core. Otherwise `ConvertToYsonString(value, EYsonFormat::Text)` used for serialization and `ConvertTo<T>(value)` for deserialization. 5) New format of attribute value storage allows to not care about concrete type of the attribute (text yson strings can be detected since they start with `\"` and deserialized so are text yson bools, everything else is already human readable). This drops dependency on `TTokenizer` 6) Some small parts (e.g. enums or constants or aliases) of yt/core/misc files were moved to library/cpp/yt/\* locations and re-included to drop dependencies of stripped\_error on them 7) `TErrorAttributes` is now a simple hash map instead of a handle to `IAttributeDictionary` 8) `ExtractFromAttributes` weak symbol is finally moved to library/cpp/yt/error due to point 9 allowing to fully drop dependency on `IAttributeDictionary`. Combined with point 7 this drops dep on yt/core/ytree altogether 9) Moved `TErrorCode` to library/cpp/yt/error. There is a logger there which forces dep on library/cpp/yt/logging. It is not required really, and can be later removed 10) Moved `TError` with format and macroes to library/cpp/yt/error. It still (and probably forever will) depend on yson. What can be done next: Switch TYsonString to TString and move ConvertTo/FromTextYsonString to library/cpp/yt/error. This would remove dep on library/cpp/yt/yson\_string commit_hash:6f11dc478ab782a1f98a5aedcd45a4800d3f4e7b | ||||
| * | YTORM-1187: Fix IN and BETWEEN expression work with indexes | dgolear | 2024-10-17 | 1 | -15/+13 |
| | | | | | commit_hash:12d86de033f73ea238ebde7f47b689d30014119a | ||||
| * | YT-22473: Enable for-each formatting in known ranges | arkady-e1ppa | 2024-08-07 | 1 | -0/+19 |
| | | | | | 5a3405e64b730f0056e381af07658d6c2edcb92b | ||||
| * | YT-21868: Reorganize files to prevent unclear missing include errors | arkady-e1ppa | 2024-07-02 | 1 | -68/+15 |
| | | | | | | Moving files around so that include of either `string_builder.h` or `format.h` would result in being able to use both `Format` and `TStringBuilder` 8a2abbea2ae7027c1cd3a243ab3de55bdd5d3d27 | ||||
| * | YT-21233: Remove TSimpleException and teach TCompositeException storing ↵ | arkady-e1ppa | 2024-03-28 | 1 | -2/+0 |
| | | | | | | | | simple attributes Expand the CompositeException 9a10ec65bfc1df854e03bb3a4d8d0a0c0e4a3a5d | ||||
| * | Natively support %x and %X in Format | babenko | 2022-08-26 | 1 | -2/+7 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | sandello | 2022-02-10 | 1 | -11/+11 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | sandello | 2022-02-10 | 1 | -11/+11 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | babenko | 2022-02-10 | 1 | -173/+173 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | babenko | 2022-02-10 | 1 | -173/+173 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | ignat | 2022-02-10 | 1 | -18/+18 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | ignat | 2022-02-10 | 1 | -18/+18 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | max42 | 2022-02-10 | 1 | -5/+5 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | max42 | 2022-02-10 | 1 | -5/+5 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | levysotsky | 2022-02-10 | 1 | -2/+2 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | levysotsky | 2022-02-10 | 1 | -2/+2 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | tobo | 2022-02-10 | 1 | -4/+4 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | tobo | 2022-02-10 | 1 | -4/+4 |
| | | |||||
| * | intermediate changes | Devtools Arcadia | 2022-02-07 | 1 | -0/+221 |
| ref:cde9a383711a11544ce7e107a78147fb96cc4029 | |||||
