Skip to content

Commit

Permalink
no space if no gcformat_index provided
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghaohit committed Jan 23, 2025
1 parent 6ba4611 commit e3e172d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hybridse/src/udf/default_defs/feature_signature_def.cc
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ struct GCFormat {
std::string Output() {
std::string instance_index_str = "";
if (instance_index >= 0) {
instance_index_str = std::to_string(instance_index);
instance_index_str = " " + std::to_string(instance_index);
}
return instance_label + " " + instance_index_str + "| " +
return instance_label + instance_index_str + "| " +
instance_feature;
}

Expand Down

0 comments on commit e3e172d

Please sign in to comment.