[Feature](datatype) update be ut codes and fix bugs for IPv4/v6#28670
Conversation
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
run p0 |
1 similar comment
|
run p0 |
|
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
| typedef std::pair<FieldType, string> FieldType_RandStr; | ||
| std::vector<FieldType_RandStr> ip_scala_field_types = { | ||
| FieldType_RandStr(FieldType::OLAP_FIELD_TYPE_IPV4, "127.0.0.1"), | ||
| FieldType_RandStr(FieldType::OLAP_FIELD_TYPE_IPV6, "2405:9800:9800:66::2")}; |
There was a problem hiding this comment.
add max min case here. to make beut run
| ColumnPtr ptr = result.first; | ||
| row_num = result.second; | ||
| IPv6 value = assert_cast<const ColumnIPv6&>(*ptr).get_element(row_num); | ||
| return convert_ipv6_to_string(value); |
There was a problem hiding this comment.
why write convert before ?
8449c02 to
3230b34
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
PR approved by anyone and no changes requested. |
|
PR approved by at least one committer and no changes requested. |
Proposed changes
update
from_string_testbe ut based on issue #26534output:

Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...