diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-02 00:00:50 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-02 00:07:55 +0300 |
commit | 89dc8db979bd4749dfbd3220ce69d0fbbcbf708d (patch) | |
tree | 5018ad74e6b6c127f6351bd870a6fa3c6264977f /yt | |
parent | 5b40c9f2b99b0d27c33d6dba1a064821e0134b5d (diff) | |
download | ydb-89dc8db979bd4749dfbd3220ce69d0fbbcbf708d.tar.gz |
Intermediate changes
Diffstat (limited to 'yt')
-rw-r--r-- | yt/python/yt/yson/__init__.py | 2 | ||||
-rw-r--r-- | yt/yt/library/program/config.cpp | 2 | ||||
-rw-r--r-- | yt/yt/library/program/config.h | 8 | ||||
-rw-r--r-- | yt/yt/library/program/public.h | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/yt/python/yt/yson/__init__.py b/yt/python/yt/yson/__init__.py index e9a303b4f8..d3eb9d5dca 100644 --- a/yt/python/yt/yson/__init__.py +++ b/yt/python/yt/yson/__init__.py @@ -54,7 +54,7 @@ except ImportError as error: print("Warning! Failed to import YSON bindings: " + message, file=_sys.stderr) try: - from yt_yson_bindings import upload_parquet, dump_parquet # noqa + from yt_yson_bindings import upload_parquet, dump_parquet, dump_orc, upload_orc # noqa HAS_PARQUET = True except ImportError as error: message = str(error) diff --git a/yt/yt/library/program/config.cpp b/yt/yt/library/program/config.cpp index b44abdd6e9..0544c7f8af 100644 --- a/yt/yt/library/program/config.cpp +++ b/yt/yt/library/program/config.cpp @@ -8,7 +8,7 @@ using namespace NYTree; //////////////////////////////////////////////////////////////////////////////// -void THeapSizeLimit::Register(TRegistrar registrar) +void THeapSizeLimitConfig::Register(TRegistrar registrar) { registrar.Parameter("container_memory_ratio", &TThis::ContainerMemoryRatio) .Optional(); diff --git a/yt/yt/library/program/config.h b/yt/yt/library/program/config.h index 96f70cc339..c91f6bac1e 100644 --- a/yt/yt/library/program/config.h +++ b/yt/yt/library/program/config.h @@ -35,7 +35,7 @@ namespace NYT { //////////////////////////////////////////////////////////////////////////////// -class THeapSizeLimit +class THeapSizeLimitConfig : public virtual NYTree::TYsonStruct { public: @@ -50,12 +50,12 @@ public: TDuration DumpMemoryProfileTimeout; TString DumpMemoryProfilePath; - REGISTER_YSON_STRUCT(THeapSizeLimit); + REGISTER_YSON_STRUCT(THeapSizeLimitConfig); static void Register(TRegistrar registrar); }; -DEFINE_REFCOUNTED_TYPE(THeapSizeLimit) +DEFINE_REFCOUNTED_TYPE(THeapSizeLimitConfig) //////////////////////////////////////////////////////////////////////////////// @@ -79,7 +79,7 @@ public: //! size <= 256 KiB will be under GWP-ASAN. std::optional<i64> GuardedSamplingRate; - THeapSizeLimitPtr HeapSizeLimit; + THeapSizeLimitConfigPtr HeapSizeLimit; REGISTER_YSON_STRUCT(TTCMallocConfig); diff --git a/yt/yt/library/program/public.h b/yt/yt/library/program/public.h index b10575778e..8b2a2321d7 100644 --- a/yt/yt/library/program/public.h +++ b/yt/yt/library/program/public.h @@ -13,7 +13,7 @@ DECLARE_REFCOUNTED_CLASS(TStockpileConfig) DECLARE_REFCOUNTED_CLASS(TSingletonsConfig) DECLARE_REFCOUNTED_CLASS(TSingletonsDynamicConfig) DECLARE_REFCOUNTED_CLASS(TDiagnosticDumpConfig) -DECLARE_REFCOUNTED_CLASS(THeapSizeLimit) +DECLARE_REFCOUNTED_CLASS(THeapSizeLimitConfig) DECLARE_REFCOUNTED_CLASS(THeapProfilerConfig) //////////////////////////////////////////////////////////////////////////////// |