Skip to content

Commit

Permalink
[followup]
Browse files Browse the repository at this point in the history
  • Loading branch information
YannByron committed Jun 14, 2024
1 parent d1f05cc commit 87bc40e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ abstract class DDLTestBase extends PaimonSparkTestBase {
)

// check select
if (format == "orc" || !gteqSpark3_4) {
if (format == "orc" && !gteqSpark3_4) {
// Orc reader will right trim the char type, e.g. "Friday " => "Friday" (see orc's `CharTreeReader`)
// and Spark has a conf `spark.sql.readSideCharPadding` to auto padding char only since 3.4 (default true)
// So when using orc with Spark3.4-, here will return "Friday"
Expand Down

0 comments on commit 87bc40e

Please sign in to comment.