Skip to content

Commit

Permalink
fix: discrete signature use sign int (#3896)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyl4pd committed Apr 25, 2024
1 parent 29b1e0b commit 0c10b16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cases/query/feature_signature_query.yaml
Expand Up @@ -439,11 +439,11 @@ cases:
schema: instance:string
order: instance
data: |
1 1:0 13120140547090569137:1 2:1 40:1 140:1 13120140547090569137:1 1203:1
1 1:0 -5326603526618982479:1 2:1 40:1 140:1 -5326603526618982479:1 1203:1
2 1:0 5665509553878826940:1 2:2 43:1 143:1 5665509553878826940:1 1203:2
3 1:1 11991475895402502921:1 2:3 24:1 124:1 11991475895402502921:1 1203:3
4 1:1 11991475895402502921:1 2:4 24:1 124:1 11991475895402502921:1 1203:4
5 1:2 13120140547090569137:1 2:5 40:1 140:1 13120140547090569137:1 1203:5
3 1:1 -6455268178307048695:1 2:3 24:1 124:1 -6455268178307048695:1 1203:3
4 1:1 -6455268178307048695:1 2:4 24:1 124:1 -6455268178307048695:1 1203:4
5 1:2 -5326603526618982479:1 2:5 40:1 140:1 -5326603526618982479:1 1203:5
- id: 21
desc: csv example
mode: procedure-unsupport
Expand Down
2 changes: 1 addition & 1 deletion hybridse/src/udf/default_defs/feature_signature_def.cc
Expand Up @@ -181,7 +181,7 @@ std::string format_continuous(T value) {
return std::to_string(value);
}

std::string format_discrete(uint64_t value) {
std::string format_discrete(int64_t value) {
return std::to_string(value);
}

Expand Down

0 comments on commit 0c10b16

Please sign in to comment.