Skip to content

[GLUTEN-11088][VL] Fix Spark4.0 varchar type check suites#11202

Merged
zhouyuan merged 2 commits intoapache:mainfrom
jinchengchenghh:varchar
Nov 27, 2025
Merged

[GLUTEN-11088][VL] Fix Spark4.0 varchar type check suites#11202
zhouyuan merged 2 commits intoapache:mainfrom
jinchengchenghh:varchar

Conversation

@jinchengchenghh
Copy link
Copy Markdown
Contributor

@jinchengchenghh jinchengchenghh commented Nov 26, 2025

Use one test to make sure the native code is really called, override function assertLengthCheckFailure to assert result correct.

Related issue: #11088

@github-actions github-actions bot added the CORE works for Gluten Core label Nov 26, 2025
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

}
}

testGluten("length check for input string values: nested in map key") {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems these tests are still valid in original Spark tests

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I override assertLengthCheckFailure to test the test result as PR description

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spark 4.0 does a refactor, move the test result check to a public function, so we can override this function

@jinchengchenghh
Copy link
Copy Markdown
Contributor Author

Do you have further comments? @zhouyuan

@zhouyuan zhouyuan merged commit 49389cd into apache:main Nov 27, 2025
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants