Skip to content

Commit

Permalink
Use deterministic sequence numbers in the join prefix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-oplaton committed Nov 19, 2024
1 parent b339ea5 commit ad1c90c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/ast/data/Dataframe.join.prefix.test
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ df3 = df2.select(col("\"A\"") + 1.as_("\"A\""), col("\"B\""), col("\"C\""), col(

df3 = df3_res1.join(df3, how="inner")

df4 = df3.sort(["\"l_0032_A\"", "\"l_0032_B\"", "\"l_0032_C\"", "\"r_0000_A\"", "\"l_0000_A\"", "\"l_0002_A\"", "\"r_0033_A\"", "\"r_0033_B\"", "\"r_0033_C\"", "\"l_0001_C\"", "\"l_0003_B\""])
df4 = df3.sort(["\"l_0004_A\"", "\"l_0004_B\"", "\"l_0004_C\"", "\"r_0000_A\"", "\"l_0000_A\"", "\"l_0002_A\"", "\"r_0006_A\"", "\"r_0006_B\"", "\"r_0006_C\"", "\"l_0001_C\"", "\"l_0003_B\""])

df4.collect()

Expand Down Expand Up @@ -509,7 +509,7 @@ body {
file: "SRC_POSITION_TEST_MODE"
start_line: 31
}
v: "\"l_0032_A\""
v: "\"l_0004_A\""
}
}
cols {
Expand All @@ -518,7 +518,7 @@ body {
file: "SRC_POSITION_TEST_MODE"
start_line: 31
}
v: "\"l_0032_B\""
v: "\"l_0004_B\""
}
}
cols {
Expand All @@ -527,7 +527,7 @@ body {
file: "SRC_POSITION_TEST_MODE"
start_line: 31
}
v: "\"l_0032_C\""
v: "\"l_0004_C\""
}
}
cols {
Expand Down Expand Up @@ -563,7 +563,7 @@ body {
file: "SRC_POSITION_TEST_MODE"
start_line: 31
}
v: "\"r_0033_A\""
v: "\"r_0006_A\""
}
}
cols {
Expand All @@ -572,7 +572,7 @@ body {
file: "SRC_POSITION_TEST_MODE"
start_line: 31
}
v: "\"r_0033_B\""
v: "\"r_0006_B\""
}
}
cols {
Expand All @@ -581,7 +581,7 @@ body {
file: "SRC_POSITION_TEST_MODE"
start_line: 31
}
v: "\"r_0033_C\""
v: "\"r_0006_C\""
}
}
cols {
Expand Down

0 comments on commit ad1c90c

Please sign in to comment.