Skip to content

Test fail in copr-test #57500

@wshwsh12

Description

@wshwsh12

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

After #57343 merged

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

Test case: sql/randgen/10_agg.sql

Statement: #370 -  SELECT SUM( '18:06:20.037342' + `col_year` ) AS field1 FROM `table1000_int_autoinc` WHERE LOG( `col_float_unsigned_key`, LPAD( `col_float_unsigned_key`, `col_time`, '2032-08-14 23:07:20.038862' ) ) GROUP BY `col_bigint` * `col_char_255` ORDER BY `col_bigint` * `col_char_255` /* QNO 376 CON_ID 1137 */ ;

NoPushDown Output: 

field1

79137

18

2025

2021

18

2033

2027

18

18

2021

2025

2036

2018

2036

18

2018

2018

18

2022

2022

2018

2023

146437

26438

2019

18

NULL

2027

NULL

2027

18

4044

18

2020

2027

2018

4047

2026

18

2018

18

18

2018

2023

2024

NULL

2019

2025

2027

2022

2025

2030

2023

2018

18

18

2024

2016

2024

2033

2019

2018

2021

18

2027

18

2026

2024

2025





WithPushDown Output: 

field1

79137

18

2025

2021

18

2033

2027

18

18

2021

2025

2036

2018

2036

18

2018

2018

18

2022

2022

2018

2023

26438

146437

2019

18

NULL

2027

NULL

2027

18

4044

18

2020

2027

2018

4047

2026

18

2018

18

18

2018

2023

2024

NULL

2019

2025

2027

2022

2025

2030

2023

2018

18

18

2024

2016

2024

2033

2019

2018

2021

18

2027

18

2026

2024

2025

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions