Skip to content

randgen test break by #26545 #27124

@zhouqiang-cl

Description

@zhouqiang-cl

Bug Report

Please answer these questions before submitting your issue. Thanks!

[2021-08-11T11:54:25.941Z] 2021/08/11 19:54:25.399  [fatal] run test [udaf_bitand_union] err: sql:select bit_and(`col_float_unsigned_key`) as a from (select * from `table20_int_autoinc` union all select * from `table40_int_autoinc`) tmp group by tmp.`col_double_signed_key`, tmp.`col_decimal_6_3_signed` order by a;: failed to run query 

[2021-08-11T11:54:25.942Z] "select bit_and(`col_float_unsigned_key`) as a from (select * from `table20_int_autoinc` union all select * from `table40_int_autoinc`) tmp group by tmp.`col_double_signed_key`, tmp.`col_decimal_6_3_signed` order by a;" 

[2021-08-11T11:54:25.942Z]  around line 555, 

[2021-08-11T11:54:25.942Z] we need(439):

[2021-08-11T11:54:25.942Z] select bit_and(`col_float_unsigned_key`) as a from (select * from `table20_int_autoinc` union all select * from `table40_int_autoinc`) tmp group by tmp.`col_double_signed_key`, tmp.`col_decimal_6_3_signed` order by a;

[2021-08-11T11:54:25.942Z] a

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 47

[2021-08-11T11:54:25.942Z] select bit_and(`col_double_unsigned_key`) as a from (select * from `table40_int_autoinc` union all select * from `

[2021-08-11T11:54:25.942Z] but got(439):

[2021-08-11T11:54:25.942Z] select bit_and(`col_float_unsigned_key`) as a from (select * from `table20_int_autoinc` union all select * from `table40_int_autoinc`) tmp group by tmp.`col_double_signed_key`, tmp.`col_decimal_6_3_signed` order by a;

[2021-08-11T11:54:25.942Z] a

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 0

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 1

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 13

[2021-08-11T11:54:25.942Z] 47

[2021-08-11T11:54:25.942Z] 18446744073709551505

[2021-08-11T11:54:25.942Z] 18446744073709551505

[2021-08-11T11:54:25.942Z] 18446744073709551560

[2021-08-11T11:54:25.942Z] 18446744073709551607

[2021-08-11T11:54:25.942Z] 18446744073709551607

[2021-08-11T11:54:25.942Z] 18446744073709551615

[2021-08-11T11:54:25.942Z] 

[2021-08-11T11:54:25.942Z] 

1. Minimal reproduce step (Required)

introduce in #26545

in ci https://ci.pingcap.net/blue/organizations/jenkins/tidb_ghpr_integration_common_test/detail/tidb_ghpr_integration_common_test/6102/pipeline

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions