aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/raw_client
diff options
context:
space:
mode:
authorMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-11-24 18:29:03 +0000
committerGitHub <noreply@github.com>2024-11-24 18:29:03 +0000
commitd07a4859aa083d0e7cf47020da9036f176f61d00 (patch)
tree5f3772c6600fcc5737420bf7874bb89833b35b00 /yt/cpp/mapreduce/raw_client
parent398fb410adba8fede893681a5e67a809f02d0750 (diff)
parent9002c47536c0c2d348b001535c540667e7910b65 (diff)
downloadydb-main.tar.gz
Merge pull request #11909 from ydb-platform/mergelibs-241123-2111HEADmain
Library import 241123-2111
Diffstat (limited to 'yt/cpp/mapreduce/raw_client')
-rw-r--r--yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp b/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp
index bebc59ec91..cd36cea25a 100644
--- a/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp
+++ b/yt/cpp/mapreduce/raw_client/rpc_parameters_serialization.cpp
@@ -84,11 +84,7 @@ static TString GetDefaultTransactionTitle()
res << "User transaction. Created by: " << processState->UserName << " on " << processState->FqdnHostName
<< " client: " << processState->ClientVersion << " pid: " << processState->Pid;
- if (!processState->CommandLine.empty()) {
- res << " program: " << processState->CommandLine[0];
- } else {
- res << " command line is unknown probably NYT::Initialize was never called";
- }
+ res << " program: " << processState->BinaryName;
#ifndef NDEBUG
res << " build: debug";
@@ -562,6 +558,15 @@ TNode SerializeParamsForListJobs(
if (options.WithMonitoringDescriptor_) {
result["with_monitoring_descriptor"] = *options.WithMonitoringDescriptor_;
}
+ if (options.FromTime_) {
+ result["from_time"] = ToString(options.FromTime_);
+ }
+ if (options.ToTime_) {
+ result["to_time"] = ToString(options.ToTime_);
+ }
+ if (options.ContinuationToken_) {
+ result["continuation_token"] = *options.ContinuationToken_;
+ }
if (options.SortField_) {
result["sort_field"] = ToString(*options.SortField_);