From 39eb92411028c70b05639eaccbfcdc4d9767417d Mon Sep 17 00:00:00 2001 From: xxchan Date: Wed, 26 Jun 2024 10:24:42 +0800 Subject: [PATCH] definitely deterministic Signed-off-by: xxchan --- e2e_test/source_inline/kafka/include_key_as.slt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/e2e_test/source_inline/kafka/include_key_as.slt b/e2e_test/source_inline/kafka/include_key_as.slt index c25e56081285..57b80003fbe6 100644 --- a/e2e_test/source_inline/kafka/include_key_as.slt +++ b/e2e_test/source_inline/kafka/include_key_as.slt @@ -277,11 +277,12 @@ WHERE key_col IS NOT NULL query ?? -WITH arr AS (SELECT header_col_combined FROM additional_columns order by 1 limit 1) -SELECT unnest(header_col_combined) FROM arr; +WITH arr AS (SELECT header_col_combined FROM additional_columns), +unnested AS (SELECT unnest(header_col_combined) FROM arr) +select *, count(*) from unnested group by 1; ---- -(header1,"\\x7631") -(header2,"\\x7632") +(header1,"\\x7631") 101 +(header2,"\\x7632") 101 query ???? select header_col_1, header_col_2, header_col_3, header_col_4 from additional_columns limit 1