diff options
author | ermolovd <ermolovd@yandex-team.com> | 2023-09-19 09:34:23 +0300 |
---|---|---|
committer | ermolovd <ermolovd@yandex-team.com> | 2023-09-19 09:54:05 +0300 |
commit | a2668d31f6f18029eb3c9c525d3b38a7fb7f6859 (patch) | |
tree | 51ae080824b808f941a4a9e03bbb26b36df3883c /yt/cpp/mapreduce/interface/common.h | |
parent | 11536ca6ed95f3aca890e6ff4ff3774024d1a876 (diff) | |
download | ydb-a2668d31f6f18029eb3c9c525d3b38a7fb7f6859.tar.gz |
Debug printing for NYT::TTableSchema
Diffstat (limited to 'yt/cpp/mapreduce/interface/common.h')
-rw-r--r-- | yt/cpp/mapreduce/interface/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/common.h b/yt/cpp/mapreduce/interface/common.h index 2b48e98459..6d0543b718 100644 --- a/yt/cpp/mapreduce/interface/common.h +++ b/yt/cpp/mapreduce/interface/common.h @@ -762,6 +762,9 @@ public: /// Check for equality of all columns and all schema attributes bool operator==(const TTableSchema& lhs, const TTableSchema& rhs); +// Pretty printer for unittests +void PrintTo(const TTableSchema& schema, std::ostream* out); + /// Create table schema by protobuf message descriptor TTableSchema CreateTableSchema( const ::google::protobuf::Descriptor& messageDescriptor, |