Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unstable test TestIfFunctionWithNull #44226

Closed
Tracked by #41316
hawkingrei opened this issue May 29, 2023 · 0 comments · Fixed by #44229
Closed
Tracked by #41316

unstable test TestIfFunctionWithNull #44226

hawkingrei opened this issue May 29, 2023 · 0 comments · Fixed by #44229
Assignees
Labels
affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.1 affects-6.5 component/test severity/moderate type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

3. What did you see instead (Required)

[2023/05/29 08:30:16.274 +08:00] [INFO] [callback.go:128] ["performing DDL change, must reload"]
    result.go:49: 
        	Error Trace:	testkit/result.go:49
        	            				expression/integration_test/integration_test.go:7946
        	Error:      	Not equal: 
        	            	expected: "[20000 35100]\n"
        	            	actual  : "[<nil> 35100]\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1,2 +1,2 @@
        	            	-[20000 35100]
        	            	+[<nil> 35100]
        	            	 
        	Test:       	TestIfFunctionWithNull
        	Messages:   	sql:select min(if(apply_to_now_days <= 30,loan,null)) as min, max(if(apply_to_now_days <= 720,loan,null)) as max from (select loan, datediff(from_unixtime(unix_timestamp() + 18000), from_unixtime(apply_time/1000 + 18000)) as apply_to_now_days from orders) t1;, args:[]

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added type/bug The issue is confirmed as a bug. component/test severity/moderate labels May 29, 2023
@Defined2014 Defined2014 self-assigned this May 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 29, 2023
@VelocityLight VelocityLight added affects-5.4 This bug affects 5.4.x versions. affects-6.5 affects-6.1 affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.1 This bug affects 5.1.x versions. labels May 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 29, 2023
ti-chi-bot bot pushed a commit that referenced this issue May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.1 affects-6.5 component/test severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants