Skip to content

[spark] ignore PaimonLambdaFunctionfunction_test.java#7141

Open
cxzl25 wants to merge 1 commit intoapache:masterfrom
cxzl25:ignore_lambda_func_file
Open

[spark] ignore PaimonLambdaFunctionfunction_test.java#7141
cxzl25 wants to merge 1 commit intoapache:masterfrom
cxzl25:ignore_lambda_func_file

Conversation

@cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Jan 28, 2026

Purpose

Linked issue: close #xxx

When running some UT, it may generate the PaimonLambdaFunctionfunction_test.java file, and mvn may fail due to the check of apache-rat-plugin

org.apache.paimon.spark.JavaLambdaStringToMethodConverter#compileAndLoadMethod

        File sourceFile = new File(getSourceFileName(functionName));
        try (FileWriter writer = new FileWriter(sourceFile)) {
            writer.write(javaCode);
        }

Tests

API and Format

Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant