Skip to content

Commit 99e4fb8

Browse files
committed
[fix](test) Restore logical JSON and BSON Parquet golden results
1 parent d80877e commit 99e4fb8

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎regression-test/data/external_table_p0/tvf/test_hdfs_parquet_group6.out‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,10 @@ hello {"x":"world", "y":"danny"} 5
657657

658658
-- !test_74 --
659659
\N \N \N \N \N
660-
string_smith enum_smith 6.7 {"name": "smith"} 0x7B226E616D65223A2022736D697468227D
661-
string_smith enum_smith 6.7 {"name": "smith"} 0x7B226E616D65223A2022736D697468227D
662-
string_smith enum_smith 6.7 {"name": "smith"} 0x7B226E616D65223A2022736D697468227D
663-
string_smith enum_smith 6.7 {"name": "smith"} 0x7B226E616D65223A2022736D697468227D
660+
string_smith enum_smith 6.7 {"name": "smith"} {"name": "smith"}
661+
string_smith enum_smith 6.7 {"name": "smith"} {"name": "smith"}
662+
string_smith enum_smith 6.7 {"name": "smith"} {"name": "smith"}
663+
string_smith enum_smith 6.7 {"name": "smith"} {"name": "smith"}
664664

665665
-- !test_75 --
666666
20230208203804485 20230208203804485_0_0 AA1 07eeba07-b04d-42b5-9e31-35b1a22ea31d-0_0-89-83_20230208203804485.parquet AA1 20 1 1 2021-01-01 00:00:00.000000+08:00

‎regression-test/suites/external_table_p0/tvf/test_hdfs_parquet_group6.groovy‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,8 @@ suite("test_hdfs_parquet_group6","external,hive,tvf,external_docker") {
568568
"format" = "parquet") limit 10; """
569569

570570

571-
// V2 schema discovery honors logical annotations instead of exposing raw BYTE_ARRAY.
571+
// V2 maps JSON/BSON annotations to text despite BYTE_ARRAY storage, so both
572+
// document columns must keep textual golden results rather than VARBINARY hex.
572573
uri = "${defaultFS}" + "/user/doris/tvf_data/test_hdfs_parquet/group6/byte_array.parquet"
573574
order_qt_test_74 """ select * from HDFS(
574575
"uri" = "${uri}",

0 commit comments

Comments
 (0)