Skip to content

Conversation

@BePPPower
Copy link
Contributor

@BePPPower BePPPower commented Apr 27, 2025

Issue Number: #50238

Problem Summary:

Previously, we refactored the code of the fileFormat attribute (#50225). However, we only added the relevant code without modifying the business code. This pull request modifies the code of the SELECT INTO OUTFILE feature that is related to the fileformat.

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
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?

@BePPPower
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 33953 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 13cfd68dac34394b0df259526c8cd09d83d3862f, data reload: false

------ Round 1 ----------------------------------
q1	26004	5289	5034	5034
q2	2059	272	179	179
q3	10407	1225	684	684
q4	10229	998	517	517
q5	7539	2328	2362	2328
q6	181	160	130	130
q7	906	739	617	617
q8	9315	1270	1103	1103
q9	6811	5060	5089	5060
q10	6867	2300	1864	1864
q11	479	285	264	264
q12	350	346	209	209
q13	17759	3695	3070	3070
q14	238	221	213	213
q15	544	503	483	483
q16	456	442	416	416
q17	618	855	375	375
q18	7596	7251	7185	7185
q19	1513	949	586	586
q20	340	344	223	223
q21	3876	3380	2421	2421
q22	1049	1026	992	992
Total cold run time: 115136 ms
Total hot run time: 33953 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5142	5209	5090	5090
q2	236	322	233	233
q3	2225	2735	2399	2399
q4	1461	1870	1455	1455
q5	4501	4525	4490	4490
q6	232	171	128	128
q7	2098	2004	1855	1855
q8	2628	2568	2601	2568
q9	7378	7293	7095	7095
q10	3005	3138	2749	2749
q11	569	510	492	492
q12	650	762	594	594
q13	3544	3946	3269	3269
q14	305	311	279	279
q15	530	476	469	469
q16	451	490	458	458
q17	1176	1576	1367	1367
q18	7699	7623	7488	7488
q19	801	840	822	822
q20	1973	1961	1846	1846
q21	5061	4919	4703	4703
q22	1071	1049	1010	1010
Total cold run time: 52736 ms
Total hot run time: 50859 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 192512 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 13cfd68dac34394b0df259526c8cd09d83d3862f, data reload: false

query1	1386	1091	1044	1044
query2	6103	1904	1904	1904
query3	10995	4691	4500	4500
query4	26294	23452	23120	23120
query5	5695	637	457	457
query6	307	196	204	196
query7	3984	490	276	276
query8	318	268	242	242
query9	8517	2570	2587	2570
query10	524	327	254	254
query11	15431	14991	14869	14869
query12	164	110	102	102
query13	1548	513	375	375
query14	9051	6337	6360	6337
query15	207	200	167	167
query16	7476	623	489	489
query17	1116	751	623	623
query18	2128	428	326	326
query19	208	195	158	158
query20	127	123	128	123
query21	213	140	110	110
query22	4512	4446	4335	4335
query23	34659	33743	33621	33621
query24	8578	2484	2424	2424
query25	540	466	390	390
query26	1183	267	150	150
query27	2894	513	322	322
query28	4942	2136	2161	2136
query29	689	561	435	435
query30	273	218	189	189
query31	904	889	822	822
query32	83	68	63	63
query33	536	368	322	322
query34	819	902	530	530
query35	838	845	763	763
query36	959	996	911	911
query37	116	102	78	78
query38	4193	4278	4177	4177
query39	1503	1448	1440	1440
query40	225	118	106	106
query41	57	52	57	52
query42	125	106	113	106
query43	525	513	500	500
query44	1342	825	819	819
query45	182	173	171	171
query46	854	1024	646	646
query47	1824	1853	1787	1787
query48	383	438	325	325
query49	784	540	439	439
query50	655	701	394	394
query51	4231	4242	4122	4122
query52	114	113	103	103
query53	231	257	189	189
query54	585	586	526	526
query55	78	85	78	78
query56	325	292	299	292
query57	1188	1190	1116	1116
query58	273	259	252	252
query59	2978	2890	2834	2834
query60	330	332	306	306
query61	127	125	123	123
query62	770	748	688	688
query63	229	184	186	184
query64	4113	1011	676	676
query65	4534	4399	4365	4365
query66	884	414	324	324
query67	15871	15533	15409	15409
query68	8827	879	523	523
query69	511	298	264	264
query70	1225	1130	1079	1079
query71	493	322	296	296
query72	5749	4680	4686	4680
query73	692	594	344	344
query74	8960	9055	8709	8709
query75	4209	3204	2703	2703
query76	3769	1200	751	751
query77	782	362	284	284
query78	10069	10119	9281	9281
query79	2628	822	565	565
query80	628	501	433	433
query81	475	267	212	212
query82	459	127	92	92
query83	275	244	222	222
query84	293	166	92	92
query85	744	350	309	309
query86	343	301	282	282
query87	4448	4479	4289	4289
query88	3389	2243	2222	2222
query89	432	332	286	286
query90	1949	209	212	209
query91	142	214	112	112
query92	76	62	57	57
query93	2084	951	575	575
query94	646	396	265	265
query95	358	285	279	279
query96	495	553	268	268
query97	3241	3249	3103	3103
query98	214	208	209	208
query99	1459	1399	1236	1236
Total cold run time: 283894 ms
Total hot run time: 192512 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 30.07 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 13cfd68dac34394b0df259526c8cd09d83d3862f, data reload: false

query1	0.04	0.04	0.03
query2	0.12	0.10	0.11
query3	0.26	0.19	0.19
query4	1.59	0.19	0.19
query5	0.58	0.58	0.57
query6	1.20	0.73	0.73
query7	0.02	0.02	0.02
query8	0.05	0.04	0.04
query9	0.58	0.53	0.53
query10	0.56	0.57	0.57
query11	0.16	0.11	0.11
query12	0.14	0.11	0.11
query13	0.62	0.60	0.60
query14	1.16	1.23	1.22
query15	0.88	0.85	0.85
query16	0.38	0.40	0.40
query17	1.07	1.07	1.02
query18	0.22	0.20	0.19
query19	1.86	1.85	1.82
query20	0.02	0.01	0.01
query21	15.41	0.89	0.56
query22	0.75	1.18	0.75
query23	14.83	1.41	0.64
query24	6.99	1.50	0.84
query25	0.45	0.20	0.26
query26	0.65	0.15	0.14
query27	0.05	0.05	0.04
query28	9.49	0.87	0.46
query29	12.54	4.03	3.31
query30	0.25	0.09	0.07
query31	2.83	0.61	0.40
query32	3.26	0.56	0.48
query33	3.15	3.02	3.09
query34	15.56	5.27	4.54
query35	4.50	4.55	4.52
query36	0.65	0.51	0.49
query37	0.09	0.06	0.06
query38	0.06	0.04	0.03
query39	0.03	0.03	0.02
query40	0.17	0.14	0.14
query41	0.08	0.02	0.02
query42	0.04	0.02	0.03
query43	0.03	0.02	0.03
Total cold run time: 103.37 s
Total hot run time: 30.07 s

@BePPPower
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	25914	5073	5032	5032
q2	2066	276	183	183
q3	10462	1253	691	691
q4	10251	1003	510	510
q5	7513	2344	2330	2330
q6	191	166	133	133
q7	896	723	615	615
q8	9310	1273	1029	1029
q9	6803	5187	5077	5077
q10	6827	2301	1884	1884
q11	462	281	274	274
q12	357	345	209	209
q13	17788	3664	3070	3070
q14	219	221	213	213
q15	539	485	485	485
q16	415	423	370	370
q17	593	834	384	384
q18	7384	7154	7027	7027
q19	1604	944	552	552
q20	339	330	226	226
q21	3865	3324	2372	2372
q22	1066	1010	962	962
Total cold run time: 114864 ms
Total hot run time: 33628 ms

----- Round 2, with runtime_filter_mode=off -----
q1	5183	5121	5127	5121
q2	233	320	232	232
q3	2158	2626	2275	2275
q4	1425	1805	1393	1393
q5	4374	4396	4392	4392
q6	224	169	127	127
q7	2000	1919	1776	1776
q8	2591	2631	2540	2540
q9	7254	7413	7029	7029
q10	3024	3175	2762	2762
q11	569	520	489	489
q12	669	780	613	613
q13	3503	3827	3290	3290
q14	287	305	278	278
q15	542	490	499	490
q16	440	478	444	444
q17	1129	1589	1369	1369
q18	7735	7614	7450	7450
q19	788	766	818	766
q20	2042	2021	1805	1805
q21	5046	4728	4671	4671
q22	1103	1070	1023	1023
Total cold run time: 52319 ms
Total hot run time: 50335 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 192378 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 b44e1237ff2120a15739b2ddcc2dd6cbd7d0243e, data reload: false

query1	1403	1082	1040	1040
query2	6295	1746	1741	1741
query3	11117	4613	4789	4613
query4	53703	25372	22979	22979
query5	5142	518	454	454
query6	347	207	198	198
query7	4880	503	283	283
query8	327	256	245	245
query9	5659	2575	2594	2575
query10	430	316	263	263
query11	15080	14923	14993	14923
query12	154	110	100	100
query13	1030	492	388	388
query14	10152	6336	6160	6160
query15	180	196	175	175
query16	7002	647	469	469
query17	1070	733	569	569
query18	1518	410	317	317
query19	198	200	162	162
query20	131	133	125	125
query21	202	123	123	123
query22	4462	4610	4302	4302
query23	34243	33437	33588	33437
query24	6615	2439	2402	2402
query25	502	499	449	449
query26	666	282	168	168
query27	2173	525	338	338
query28	3187	2150	2156	2150
query29	603	595	451	451
query30	272	222	191	191
query31	862	876	824	824
query32	69	66	62	62
query33	456	369	329	329
query34	784	874	514	514
query35	819	859	782	782
query36	997	1028	914	914
query37	109	99	75	75
query38	4232	4241	4132	4132
query39	1486	1416	1437	1416
query40	218	117	110	110
query41	55	53	55	53
query42	126	113	108	108
query43	493	496	463	463
query44	1294	850	810	810
query45	182	182	165	165
query46	859	1023	647	647
query47	1849	1951	1829	1829
query48	383	410	307	307
query49	679	523	424	424
query50	656	687	412	412
query51	4315	4220	4155	4155
query52	120	115	102	102
query53	231	261	193	193
query54	587	565	511	511
query55	85	83	80	80
query56	306	295	312	295
query57	1180	1184	1136	1136
query58	267	265	257	257
query59	2627	2792	2727	2727
query60	335	318	302	302
query61	133	127	126	126
query62	728	740	698	698
query63	230	187	189	187
query64	1712	1079	738	738
query65	4459	4281	4257	4257
query66	755	401	313	313
query67	16011	15679	15319	15319
query68	7065	870	514	514
query69	537	311	306	306
query70	1158	1105	1120	1105
query71	495	308	300	300
query72	6005	4828	4843	4828
query73	1446	624	346	346
query74	8977	9026	8988	8988
query75	3806	3193	2724	2724
query76	4247	1179	752	752
query77	621	369	288	288
query78	10037	10006	9272	9272
query79	3349	801	556	556
query80	665	514	433	433
query81	475	250	222	222
query82	460	133	95	95
query83	351	301	232	232
query84	284	101	86	86
query85	806	354	324	324
query86	383	310	274	274
query87	4418	4453	4273	4273
query88	3579	2177	2182	2177
query89	402	311	286	286
query90	1884	207	207	207
query91	140	143	111	111
query92	75	62	55	55
query93	2499	929	571	571
query94	661	403	320	320
query95	373	293	286	286
query96	491	562	274	274
query97	3173	3255	3124	3124
query98	238	204	202	202
query99	1419	1409	1285	1285
Total cold run time: 299951 ms
Total hot run time: 192378 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 29.22 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit b44e1237ff2120a15739b2ddcc2dd6cbd7d0243e, data reload: false

query1	0.03	0.04	0.03
query2	0.12	0.11	0.11
query3	0.25	0.19	0.19
query4	1.59	0.19	0.11
query5	0.56	0.55	0.56
query6	1.18	0.70	0.71
query7	0.02	0.02	0.02
query8	0.04	0.03	0.03
query9	0.58	0.51	0.51
query10	0.58	0.57	0.57
query11	0.15	0.10	0.11
query12	0.15	0.11	0.11
query13	0.61	0.60	0.60
query14	0.79	0.80	0.81
query15	0.88	0.84	0.88
query16	0.38	0.39	0.40
query17	0.99	1.00	1.03
query18	0.21	0.20	0.20
query19	1.85	1.85	1.78
query20	0.01	0.01	0.01
query21	15.39	0.90	0.52
query22	0.76	1.19	0.80
query23	14.79	1.35	0.64
query24	7.50	0.77	1.21
query25	0.47	0.20	0.08
query26	0.62	0.16	0.14
query27	0.05	0.05	0.04
query28	9.75	0.90	0.45
query29	12.59	3.97	3.35
query30	0.27	0.09	0.07
query31	2.81	0.59	0.39
query32	3.22	0.56	0.46
query33	3.03	3.02	3.11
query34	15.73	5.14	4.51
query35	4.51	4.59	4.54
query36	0.66	0.50	0.48
query37	0.09	0.06	0.06
query38	0.05	0.04	0.04
query39	0.03	0.02	0.03
query40	0.17	0.14	0.13
query41	0.08	0.02	0.02
query42	0.04	0.02	0.02
query43	0.04	0.03	0.02
Total cold run time: 103.62 s
Total hot run time: 29.22 s

@BePPPower
Copy link
Contributor Author

run cloud_p0

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 29, 2025
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@CalvinKirs CalvinKirs merged commit 588bfa2 into apache:master Apr 29, 2025
26 of 27 checks passed
koarz pushed a commit to koarz/doris that referenced this pull request Jun 4, 2025
…he#50471)

Issue Number: apache#50238

Problem Summary:

Previously, we refactored the code of the fileFormat attribute (apache#50225).
However, we only added the relevant code without modifying the business
code. This pull request modifies the code of the `SELECT INTO OUTFILE`
feature that is related to the fileformat.
morningman pushed a commit to morningman/doris that referenced this pull request Jun 21, 2025
…he#50471)

Issue Number: apache#50238

Problem Summary:

Previously, we refactored the code of the fileFormat attribute (apache#50225).
However, we only added the relevant code without modifying the business
code. This pull request modifies the code of the `SELECT INTO OUTFILE`
feature that is related to the fileformat.
morrySnow pushed a commit that referenced this pull request Jun 23, 2025
…and outfile #50225 #50463 #50471 (#52101)

bp #50225 #50463 #50471

---------

Co-authored-by: Tiewei Fang <fangtiewei@selectdb.com>
dataroaring pushed a commit that referenced this pull request Oct 27, 2025
### What problem does this PR solve?

introduced by #50471

Fix copy into load orc/parquet format fail:
```
mysql> copy into orc_test              from (select p_partkey, p_name, p_mfgr, p_brand, p_type, p_size from @regression_test_customer('copy_into/orc/part.orc') )              properties ('file.type' = 'orc', 'copy.async' = 'false');
ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.toLowerCase()" because the return value of "java.util.Map.get(Object)" is null
```

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] 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 <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
dwdwqfwe pushed a commit to dwdwqfwe/doris that referenced this pull request Oct 31, 2025
### What problem does this PR solve?

introduced by apache#50471

Fix copy into load orc/parquet format fail:
```
mysql> copy into orc_test              from (select p_partkey, p_name, p_mfgr, p_brand, p_type, p_size from @regression_test_customer('copy_into/orc/part.orc') )              properties ('file.type' = 'orc', 'copy.async' = 'false');
ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.toLowerCase()" because the return value of "java.util.Map.get(Object)" is null
```

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] 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 <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
sollhui added a commit to sollhui/doris that referenced this pull request Dec 1, 2025
introduced by apache#50471

Fix copy into load orc/parquet format fail:
```
mysql> copy into orc_test              from (select p_partkey, p_name, p_mfgr, p_brand, p_type, p_size from @regression_test_customer('copy_into/orc/part.orc') )              properties ('file.type' = 'orc', 'copy.async' = 'false');
ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.toLowerCase()" because the return value of "java.util.Map.get(Object)" is null
```

None

- Test <!-- At least one of them must be included. -->
    - [ ] 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 <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
sollhui added a commit to sollhui/doris that referenced this pull request Dec 1, 2025
introduced by apache#50471

Fix copy into load orc/parquet format fail:
```
mysql> copy into orc_test              from (select p_partkey, p_name, p_mfgr, p_brand, p_type, p_size from @regression_test_customer('copy_into/orc/part.orc') )              properties ('file.type' = 'orc', 'copy.async' = 'false');
ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.toLowerCase()" because the return value of "java.util.Map.get(Object)" is null
```

None

- Test <!-- At least one of them must be included. -->
    - [ ] 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 <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
sollhui added a commit to sollhui/doris that referenced this pull request Dec 1, 2025
introduced by apache#50471

Fix copy into load orc/parquet format fail:
```
mysql> copy into orc_test              from (select p_partkey, p_name, p_mfgr, p_brand, p_type, p_size from @regression_test_customer('copy_into/orc/part.orc') )              properties ('file.type' = 'orc', 'copy.async' = 'false');
ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.toLowerCase()" because the return value of "java.util.Map.get(Object)" is null
```

None

- Test <!-- At least one of them must be included. -->
    - [ ] 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 <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
yiguolei pushed a commit that referenced this pull request Dec 2, 2025
…#57362) (#58552)

pick #57362

introduced by #50471

Fix copy into load orc/parquet format fail:
```
mysql> copy into orc_test              from (select p_partkey, p_name, p_mfgr, p_brand, p_type, p_size from @regression_test_customer('copy_into/orc/part.orc') )              properties ('file.type' = 'orc', 'copy.async' = 'false');
ERROR 1105 (HY000): errCode = 2, detailMessage = Cannot invoke "String.toLowerCase()" because the return value of "java.util.Map.get(Object)" is null
```

None

- Test <!-- At least one of them must be included. -->
    - [ ] 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 <!-- Add your reason? -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->

### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] 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 <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/3.1.0-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants