diff options
| author | vvvv <[email protected]> | 2025-09-30 12:07:19 +0300 |
|---|---|---|
| committer | vvvv <[email protected]> | 2025-09-30 12:39:32 +0300 |
| commit | 230fe588e899a5e8ed225c52ebba3e74755db79f (patch) | |
| tree | 18aaa6c385c5bc38519b2466ac1aa32425294756 /library/cpp/yson/node/node_ut.cpp | |
| parent | e92f91bf4b9e9cab285a5bd3cb22ea041aad7d78 (diff) | |
YQL-20339 fix TypePrinter over previous ABI
repro на транке
```
~/repo/arcadia/yql/essentials/tools/minirun$ ya make ../../udfs/common/python/python3_small/ && ya make && ./minirun -s -p 1.yql --langver 2025.04 --udf ../../udfs/common/python/python3_small/libpython3_udf.so
креш в обращении VMT NUdf::TTypePrinter (поле AbiCompatibility_ = 244, хотя python udf ABI = 227)
```
c PR - ожидаемый результат, т.к. тип Linear не обработан в биндинге
```
1.yql:<main>:10:14: Error: Failed to cast arguments or result
Failed to import:
$p = Python::f(Callable<(Int32)->$l>, $s);
```
1\.yql
```
$s = @@
def f(x):
return x + 1
def g(x):
return x * 2
@@;
$l = LinearType(Int32);
$p = Python::f(Callable<(Int32)->$l>, $s);
$c = Python::g(Callable<($l)->Int32>, $s);
select $c($
```
commit_hash:f3a1be7eca9aa79c03ad2987091c3d08d4f1b96e
Diffstat (limited to 'library/cpp/yson/node/node_ut.cpp')
0 files changed, 0 insertions, 0 deletions
