Skip to content

[fix](function) return empty string for split empty input - #65199

Open
Mryange wants to merge 3 commits into
apache:masterfrom
Mryange:fix-split-by-string-empty-source
Open

[fix](function) return empty string for split empty input#65199
Mryange wants to merge 3 commits into
apache:masterfrom
Mryange:fix-split-by-string-empty-source

Conversation

@Mryange

@Mryange Mryange commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: close #64803

split_by_string('', non_empty_delimiter) returned an empty array, while empty substrings are preserved for leading, trailing, and consecutive delimiters. Root cause: both BE runtime execution and FE constant folding special-cased empty source strings as zero output elements before considering whether the delimiter was empty. This PR keeps split_by_string('', '') -> [], and changes non-empty delimiters to return one empty substring, for example split_by_string('', ',') -> [""].

Release note

Fix split_by_string('', non_empty_delimiter) to return [""] instead of [].

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@@ -23,6 +23,7 @@ suite("test_split_by_string") {
qt_sql "select split_by_string('','');"
qt_sql "select split_by_string('',',');"
qt_sql "select split_by_string('','a');"
qt_issue_64803 "select split_by_string('', ','), split_by_string('', 'abc'), split_by_string('', '');"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有一个function的回归,会检查fe be 结果一致性。把这个测试case移动到那里边吧:query_p0/sql_functions/string_functions/test_string_all.groovy

@Mryange

Mryange commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Static review completed for PR 65199. I did not find a new substantiated issue that needs an inline comment.

Checkpoint conclusions:

  • Goal and tests: the PR changes split_by_string('', non_empty_delimiter) to return [""] while keeping split_by_string('', '') as []. The BE runtime path, FE executable constant-folding path, regression expected outputs, and BE unit coverage are all updated for that behavior.
  • Scope: the code change is focused on FunctionSplitByString and StringArithmetic.splitByString; the rest is test coverage and expected-output updates.
  • Concurrency, lifecycle, config, persistence, transactions, FE-BE protocol: not applicable to this function-behavior fix.
  • Compatibility and parallel paths: no function symbol or protocol change. BE execution and FE constant folding now agree for the issue case; split still maps to the canonical SplitByString, and generator wrappers use the scalar split path.
  • Conditions and nullability: empty delimiter and empty source are handled distinctly; NULL propagation still happens before FE executable evaluation, and BE null handling remains delegated to the default nullable implementation.
  • Test coverage/results: test_string_all.groovy now includes both regular execution and testFoldConst for the issue case, and test_split_by_string continues to cover direct and alias runtime cases. The .out changes match the updated semantics. I did not run tests in this runner because thirdparty/installed and executable thirdparty/installed/bin/protoc are absent.
  • Performance and observability: the change is a constant-time branch adjustment in the existing loop; no new observability requirement found.

Existing review context: the prior inline thread asking to move the issue regression case into test_string_all.groovy is addressed at current HEAD, so I did not duplicate it.

User focus: no additional user-provided focus points were supplied.

Subagent conclusions: optimizer-rewrite found no new valuable findings; tests-session-config found no new valuable findings. Convergence round 1 ended with both live subagents replying NO_NEW_VALUABLE_FINDINGS for the same ledger and empty final inline comment set.

@yiguolei yiguolei added usercase Important user case type label dev/4.1.x labels Jul 3, 2026
@yiguolei

yiguolei commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 57.14% (4/7) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 56.35% (22996/40812)
Line Coverage 40.03% (223732/558945)
Region Coverage 36.04% (177015/491095)
Branch Coverage 37.10% (78676/212093)

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (7/7) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 74.60% (29719/39837)
Line Coverage 58.61% (325729/555714)
Region Coverage 55.56% (273994/493162)
Branch Coverage 56.72% (120434/212330)

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 100.00% (2/2) 🎉
Increment coverage report
Complete coverage report

@Mryange

Mryange commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

run buildall

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Possible file(s) that should be tracked in LFS detected: 🚨

The following file(s) exceeds the file size limit: 1048576 bytes, as set in the .yml configuration files:

  • regression-test/data/nereids_function_p0/scalar_function/Array1.out

Consider using git-lfs to manage large files.

@github-actions github-actions Bot added the lfs-detected! Warning Label for use when LFS is detected in the commits of a Pull Request label Jul 7, 2026
@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 0.00% (0/2) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 29781 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 3221069191cdc9eba540823c54ba744805b0e501, data reload: false

------ Round 1 ----------------------------------
============================================
q1	17615	3965	3952	3952
q2	2055	321	204	204
q3	10258	1407	803	803
q4	4685	476	344	344
q5	7538	872	569	569
q6	177	169	135	135
q7	790	844	621	621
q8	9375	1560	1533	1533
q9	5605	4391	4379	4379
q10	6772	1852	1552	1552
q11	502	350	311	311
q12	701	539	428	428
q13	18052	3361	2764	2764
q14	274	268	245	245
q15	q16	781	781	715	715
q17	1021	942	1047	942
q18	6977	5768	5631	5631
q19	1317	1234	1108	1108
q20	822	652	527	527
q21	6278	2792	2702	2702
q22	451	380	316	316
Total cold run time: 102046 ms
Total hot run time: 29781 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	5017	4722	4752	4722
q2	316	354	216	216
q3	4995	5285	4724	4724
q4	2123	2144	1378	1378
q5	4812	4867	4620	4620
q6	234	182	131	131
q7	1890	1783	1545	1545
q8	2431	2184	2092	2092
q9	7733	7370	7246	7246
q10	4711	4633	4190	4190
q11	522	379	347	347
q12	736	746	531	531
q13	2982	3359	2829	2829
q14	286	292	252	252
q15	q16	682	701	601	601
q17	1281	1252	1243	1243
q18	7241	6862	6853	6853
q19	1110	1039	1068	1039
q20	2202	2219	1960	1960
q21	5275	4689	4499	4499
q22	519	462	422	422
Total cold run time: 57098 ms
Total hot run time: 51440 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 180808 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 3221069191cdc9eba540823c54ba744805b0e501, data reload: false

query5	4321	665	503	503
query6	465	228	202	202
query7	4886	573	362	362
query8	368	196	176	176
query9	8768	4138	4150	4138
query10	462	374	296	296
query11	5986	2380	2195	2195
query12	162	106	97	97
query13	1238	630	423	423
query14	6041	5360	5125	5125
query14_1	4414	4386	4372	4372
query15	237	217	190	190
query16	1032	464	406	406
query17	947	733	579	579
query18	2435	474	341	341
query19	205	193	148	148
query20	108	111	106	106
query21	230	166	137	137
query22	13680	13639	13364	13364
query23	17514	16651	16174	16174
query23_1	16432	16406	16286	16286
query24	7554	1821	1323	1323
query24_1	1342	1326	1328	1326
query25	592	472	428	428
query26	1339	382	235	235
query27	2558	637	402	402
query28	4485	2025	2030	2025
query29	1084	630	510	510
query30	341	270	235	235
query31	1143	1100	996	996
query32	110	64	66	64
query33	542	351	271	271
query34	1184	1171	671	671
query35	791	804	675	675
query36	1404	1392	1179	1179
query37	157	113	99	99
query38	1892	1728	1649	1649
query39	934	924	892	892
query39_1	887	906	876	876
query40	276	166	150	150
query41	74	71	71	71
query42	97	99	98	98
query43	345	343	301	301
query44	1521	810	776	776
query45	213	205	187	187
query46	1077	1241	762	762
query47	2323	2298	2237	2237
query48	409	431	308	308
query49	607	435	327	327
query50	1081	419	341	341
query51	10616	10719	10765	10719
query52	93	93	77	77
query53	277	298	228	228
query54	303	248	239	239
query55	79	75	70	70
query56	309	330	310	310
query57	1422	1418	1293	1293
query58	305	286	284	284
query59	1650	1747	1452	1452
query60	318	290	276	276
query61	188	154	144	144
query62	697	662	577	577
query63	240	220	199	199
query64	2549	768	607	607
query65	4900	4815	4772	4772
query66	1818	522	398	398
query67	29796	29484	29330	29330
query68	3030	1550	1065	1065
query69	408	302	275	275
query70	1096	984	1020	984
query71	336	319	303	303
query72	2999	2699	2376	2376
query73	833	858	453	453
query74	5141	4962	4736	4736
query75	2689	2609	2214	2214
query76	2306	1279	823	823
query77	388	406	311	311
query78	12412	12456	11783	11783
query79	1377	1187	766	766
query80	682	548	466	466
query81	469	330	283	283
query82	566	164	128	128
query83	385	323	305	305
query84	324	163	134	134
query85	936	627	510	510
query86	370	294	283	283
query87	1853	1858	1745	1745
query88	3749	2840	2786	2786
query89	465	411	355	355
query90	2020	209	205	205
query91	206	194	163	163
query92	64	62	55	55
query93	1625	1559	960	960
query94	547	349	315	315
query95	766	586	471	471
query96	1124	809	362	362
query97	2702	2685	2550	2550
query98	236	206	205	205
query99	1219	1159	1029	1029
Total cold run time: 265474 ms
Total hot run time: 180808 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
ClickBench: Total hot run time: 25.19 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 3221069191cdc9eba540823c54ba744805b0e501, data reload: false

query1	0.01	0.01	0.01
query2	0.10	0.05	0.05
query3	0.26	0.16	0.13
query4	1.61	0.13	0.14
query5	0.25	0.22	0.22
query6	1.28	1.05	1.10
query7	0.04	0.01	0.00
query8	0.05	0.04	0.04
query9	0.38	0.31	0.31
query10	0.56	0.58	0.56
query11	0.20	0.14	0.14
query12	0.19	0.15	0.15
query13	0.48	0.48	0.49
query14	1.01	1.01	1.02
query15	0.63	0.62	0.62
query16	0.32	0.32	0.33
query17	1.13	1.14	1.09
query18	0.22	0.21	0.22
query19	2.09	1.96	2.01
query20	0.01	0.01	0.02
query21	15.44	0.22	0.14
query22	4.89	0.06	0.05
query23	16.15	0.31	0.12
query24	2.93	0.43	0.30
query25	0.10	0.05	0.04
query26	0.73	0.21	0.16
query27	0.05	0.04	0.03
query28	3.46	0.96	0.55
query29	12.49	4.14	3.23
query30	0.27	0.15	0.16
query31	2.77	0.62	0.32
query32	3.23	0.59	0.49
query33	3.12	3.24	3.24
query34	15.58	4.26	3.52
query35	3.56	3.55	3.54
query36	0.55	0.46	0.44
query37	0.09	0.07	0.07
query38	0.05	0.04	0.04
query39	0.04	0.03	0.03
query40	0.18	0.16	0.14
query41	0.08	0.03	0.03
query42	0.04	0.03	0.03
query43	0.05	0.04	0.04
Total cold run time: 96.67 s
Total hot run time: 25.19 s

@Mryange

Mryange commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (7/7) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.02% (29255/40067)
Line Coverage 56.48% (315373/558366)
Region Coverage 52.89% (262023/495414)
Branch Coverage 53.94% (115060/213296)

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (7/7) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 72.96% (29232/40067)
Line Coverage 56.45% (315194/558366)
Region Coverage 52.87% (261933/495414)
Branch Coverage 53.92% (115003/213296)

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 8.33% (2/24) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-H: Total hot run time: 29485 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 3221069191cdc9eba540823c54ba744805b0e501, data reload: false

------ Round 1 ----------------------------------
============================================
q1	17590	3972	4001	3972
q2	2016	322	207	207
q3	10324	1452	810	810
q4	4683	467	339	339
q5	7524	841	585	585
q6	172	169	134	134
q7	751	850	634	634
q8	9327	1412	1583	1412
q9	5668	4448	4424	4424
q10	6759	1774	1556	1556
q11	499	361	315	315
q12	724	549	435	435
q13	18128	3387	2789	2789
q14	268	260	246	246
q15	q16	786	768	715	715
q17	1021	1001	1012	1001
q18	6953	5719	5484	5484
q19	1340	1201	1055	1055
q20	734	683	575	575
q21	5931	2587	2503	2503
q22	418	361	294	294
Total cold run time: 101616 ms
Total hot run time: 29485 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4358	4357	4265	4265
q2	282	323	213	213
q3	4625	4948	4387	4387
q4	2052	2156	1362	1362
q5	4426	4307	4320	4307
q6	230	175	129	129
q7	1753	1655	2068	1655
q8	2593	2167	2154	2154
q9	8129	8186	7869	7869
q10	4729	4687	4266	4266
q11	574	406	389	389
q12	759	758	550	550
q13	3228	3543	2971	2971
q14	336	312	274	274
q15	q16	701	734	657	657
q17	1330	1315	1312	1312
q18	7958	7414	7244	7244
q19	1136	1124	1082	1082
q20	2202	2222	1930	1930
q21	5195	4546	4371	4371
q22	528	446	395	395
Total cold run time: 57124 ms
Total hot run time: 51782 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 178717 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 3221069191cdc9eba540823c54ba744805b0e501, data reload: false

query5	4329	636	481	481
query6	463	216	204	204
query7	4841	613	331	331
query8	344	188	177	177
query9	8782	4040	4093	4040
query10	477	355	292	292
query11	5966	2353	2119	2119
query12	151	102	97	97
query13	1244	603	445	445
query14	6236	5287	4935	4935
query14_1	4313	4281	4242	4242
query15	206	197	173	173
query16	1026	463	474	463
query17	922	730	572	572
query18	2425	455	343	343
query19	198	198	145	145
query20	123	109	104	104
query21	236	156	128	128
query22	13598	13519	13462	13462
query23	17484	16618	16203	16203
query23_1	16376	16331	16289	16289
query24	7484	1764	1289	1289
query24_1	1288	1292	1292	1292
query25	597	492	419	419
query26	1326	383	217	217
query27	2693	606	395	395
query28	4531	2027	1982	1982
query29	1119	635	491	491
query30	332	264	227	227
query31	1135	1094	987	987
query32	103	64	62	62
query33	541	330	263	263
query34	1218	1170	666	666
query35	771	778	671	671
query36	1407	1414	1283	1283
query37	157	108	97	97
query38	1871	1703	1663	1663
query39	943	922	906	906
query39_1	875	880	878	878
query40	253	169	146	146
query41	75	84	72	72
query42	97	96	95	95
query43	326	330	291	291
query44	1431	792	770	770
query45	204	188	184	184
query46	1077	1190	751	751
query47	2412	2322	2285	2285
query48	421	412	300	300
query49	593	420	338	338
query50	1095	426	356	356
query51	11049	10832	10532	10532
query52	89	87	78	78
query53	254	279	203	203
query54	296	249	255	249
query55	77	74	68	68
query56	320	316	290	290
query57	1468	1402	1345	1345
query58	300	276	302	276
query59	1599	1632	1436	1436
query60	320	268	261	261
query61	157	142	149	142
query62	695	646	586	586
query63	238	202	206	202
query64	2833	1023	846	846
query65	4886	4742	4748	4742
query66	1871	516	398	398
query67	29533	29468	28679	28679
query68	3286	1540	988	988
query69	413	308	263	263
query70	1058	963	923	923
query71	357	320	311	311
query72	3094	2714	1943	1943
query73	794	779	477	477
query74	5140	4953	4759	4759
query75	2612	2604	2225	2225
query76	2366	1200	783	783
query77	364	381	281	281
query78	12172	12378	11706	11706
query79	1371	1187	769	769
query80	716	539	464	464
query81	483	316	290	290
query82	559	158	121	121
query83	405	324	291	291
query84	326	155	130	130
query85	953	587	519	519
query86	399	294	284	284
query87	1822	1825	1762	1762
query88	3658	2794	2749	2749
query89	463	397	361	361
query90	1910	196	198	196
query91	204	189	158	158
query92	64	62	57	57
query93	1524	1546	978	978
query94	602	372	311	311
query95	795	625	478	478
query96	1048	803	347	347
query97	2684	2668	2594	2594
query98	214	214	199	199
query99	1158	1170	1030	1030
Total cold run time: 265459 ms
Total hot run time: 178717 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
ClickBench: Total hot run time: 24.94 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 3221069191cdc9eba540823c54ba744805b0e501, data reload: false

query1	0.01	0.01	0.01
query2	0.10	0.05	0.04
query3	0.25	0.13	0.14
query4	1.61	0.17	0.13
query5	0.23	0.22	0.22
query6	1.25	1.06	1.09
query7	0.03	0.01	0.00
query8	0.05	0.04	0.03
query9	0.38	0.31	0.30
query10	0.56	0.56	0.58
query11	0.20	0.14	0.14
query12	0.18	0.15	0.15
query13	0.47	0.48	0.46
query14	1.03	1.00	1.00
query15	0.61	0.60	0.58
query16	0.32	0.34	0.32
query17	1.10	1.12	1.05
query18	0.22	0.21	0.22
query19	2.04	1.95	1.99
query20	0.01	0.01	0.01
query21	15.42	0.24	0.15
query22	4.62	0.05	0.05
query23	16.12	0.31	0.12
query24	2.99	0.44	0.34
query25	0.11	0.06	0.04
query26	0.72	0.20	0.14
query27	0.04	0.04	0.03
query28	3.54	0.95	0.52
query29	12.57	4.16	3.27
query30	0.28	0.15	0.16
query31	2.77	0.59	0.31
query32	3.23	0.59	0.48
query33	3.16	3.21	3.12
query34	15.76	4.26	3.55
query35	3.54	3.52	3.52
query36	0.54	0.43	0.43
query37	0.09	0.07	0.06
query38	0.05	0.05	0.04
query39	0.04	0.03	0.03
query40	0.19	0.16	0.15
query41	0.08	0.03	0.03
query42	0.04	0.03	0.03
query43	0.04	0.04	0.03
Total cold run time: 96.59 s
Total hot run time: 24.94 s

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 4.55% (2/44) 🎉
Increment coverage report
Complete coverage report

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (7/7) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 72.98% (29239/40067)
Line Coverage 56.52% (315565/558366)
Region Coverage 52.96% (262388/495414)
Branch Coverage 53.98% (115130/213296)

@hello-stephen

Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 0.37% (2/545) 🎉
Increment coverage report
Complete coverage report

@Mryange

Mryange commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary:
I found one blocking issue in generated expected output: Array1.out now contains NUL bytes in two unrelated sql_array_sum_decimal256 expected rows. The split_by_string BE runtime change, FE constant-folding change, alias path, and new regression/unit coverage otherwise look aligned under static review.

Checkpoint conclusions:

  • Goal/test coverage: the PR addresses split_by_string('', non_empty_delimiter) and adds BE unit coverage plus test_string_all.groovy runtime/folded coverage; the accepted issue is corrupted expected output.
  • Scope: the implementation change is focused.
  • Concurrency/lifecycle/config/persistence/FE-BE transport: not involved.
  • Parallel paths: BE runtime, FE constant folding, and the split alias were reviewed; no extra issue found.
  • Test output correctness: not OK because the unrelated Array1 decimal expected rows contain NUL bytes.
  • Existing review focus/thread: no extra user focus was provided; the prior request to move the case into test_string_all.groovy is addressed.

Validation was static only. The review prompt forbids builds/tests in this runner, thirdparty/installed and thirdparty/installed/bin/protoc are absent, and git diff --check against the PR base could not run because the shallow checkout lacks the base object.

\N
0E-56
329042925341109538642.54940061644684653763274585062761879968415992086870360064
329042925341109538642.5494006164468465376327458506276187996841599208687036006

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These sql_array_sum_decimal256 expected rows were corrupted while refreshing this output: the previous value ended with ...70360064, but this patch replaces the final 4 with a NUL byte (^@). The same unrelated corruption appears again at line 47112, and this file is now detected as binary data rather than text. Since this PR only changes split_by_string behavior and does not change the Array1 suite query or decimal array-sum logic, please restore/regenerate these decimal expected rows so the .out only contains the legitimate split_by_string updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev/4.1.x lfs-detected! Warning Label for use when LFS is detected in the commits of a Pull Request usercase Important user case type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] split_by_string("",',')

4 participants