summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-05-05 17:03:32 +0300
committerrobot-piglet <[email protected]>2025-05-05 17:39:46 +0300
commit00aea5676295184d25f00b8b27129a0ede715a03 (patch)
treeb0147f5a6e0f658ac22f083a0359222fbac42192
parentf7e2cad69f49f63402c0b28d573b9b5dd802db76 (diff)
Intermediate changes
commit_hash:6a772aebd3249332cf554bea9ed67a25f3b45876
-rw-r--r--yql/essentials/tests/common/udf_test/test.py4
-rw-r--r--yql/essentials/tools/yql_facade_run/yql_facade_run.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/yql/essentials/tests/common/udf_test/test.py b/yql/essentials/tests/common/udf_test/test.py
index 77c71f687e4..359987b2604 100644
--- a/yql/essentials/tests/common/udf_test/test.py
+++ b/yql/essentials/tests/common/udf_test/test.py
@@ -15,7 +15,6 @@ project_path = yatest.common.context.project_path
SOURCE_PATH = yql_utils.yql_source_path((project_path + '/cases').replace('\\', '/'))
DATA_PATH = yatest.common.output_path('cases')
ASTDIFF_PATH = yql_utils.yql_binary_path(os.getenv('YQL_ASTDIFF_PATH') or 'yql/essentials/tools/astdiff/astdiff')
-DEFAULT_LANG_VER = '2025.01'
def pytest_generate_tests(metafunc):
@@ -79,8 +78,7 @@ def test(case):
if yql_utils.get_param('TARGET_PLATFORM') and xfail:
pytest.skip('xfail is not supported on non-default target platform')
langver = yql_utils.get_langver(cfg)
- if langver is None:
- langver = DEFAULT_LANG_VER
+ # no default version, because UDFs may have different release cycles
extra_env = dict(os.environ)
extra_env["YQL_UDF_RESOLVER"] = "1"
diff --git a/yql/essentials/tools/yql_facade_run/yql_facade_run.h b/yql/essentials/tools/yql_facade_run/yql_facade_run.h
index 2b4092c823b..a8661861073 100644
--- a/yql/essentials/tools/yql_facade_run/yql_facade_run.h
+++ b/yql/essentials/tools/yql_facade_run/yql_facade_run.h
@@ -71,7 +71,7 @@ public:
EProgramType ProgramType = EProgramType::SExpr;
TLangVersion LangVer = UnknownLangVersion;
- TLangVersion MaxLangVer = UnknownLangVersion;
+ TLangVersion MaxLangVer = GetMaxLangVersion();
NYson::EYsonFormat ResultsFormat = NYson::EYsonFormat::Text;
ERunMode Mode = ERunMode::Run;
TString ProgramFile;