[AutoSparkUT]Enable RapidsCsvExpressionsSuite & RapidsCSVInferSchemaSuite#13911
Merged
GaryShen2008 merged 3 commits intoNVIDIA:mainfrom Dec 2, 2025
Merged
Conversation
Signed-off-by: Gary Shen <gashen@nvidia.com>
Contributor
Greptile OverviewGreptile SummaryThis PR enables two CSV test suites ( Key Changes
Test PatternAll suites follow the established pattern of extending Spark's base test suites and mixing in Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant TestRunner as Test Runner
participant RapidsSettings as RapidsTestSettings
participant CSVInferSuite as RapidsCSVInferSchemaSuite
participant CsvExprSuite as RapidsCsvExpressionsSuite
participant ReadSchemaSuite as RapidsReadSchemaSuite
participant RapidsTrait as RapidsTestsTrait/RapidsSQLTestsTrait
participant SparkSuite as Spark Base Suites
participant GPU as GPU Execution
TestRunner->>RapidsSettings: Load test configuration
RapidsSettings->>RapidsSettings: enableSuite[RapidsCSVInferSchemaSuite]
RapidsSettings->>RapidsSettings: enableSuite[RapidsCsvExpressionsSuite]
RapidsSettings->>RapidsSettings: enableSuite[RapidsCSVReadSchemaSuite]
RapidsSettings->>RapidsSettings: exclude("unsupported mode") for CsvExpressions
TestRunner->>CSVInferSuite: Run inherited tests
CSVInferSuite->>SparkSuite: Extend CSVInferSchemaSuite
CSVInferSuite->>RapidsTrait: Mix in RapidsTestsTrait
RapidsTrait->>GPU: Execute tests on GPU
GPU-->>CSVInferSuite: Test results
TestRunner->>CsvExprSuite: Run inherited + custom tests
CsvExprSuite->>SparkSuite: Extend CsvExpressionsSuite
CsvExprSuite->>RapidsTrait: Mix in RapidsTestsTrait
CsvExprSuite->>CsvExprSuite: testRapids("unsupported mode")
Note over CsvExprSuite: Override test to expect SparkException
RapidsTrait->>GPU: Execute tests on GPU
GPU-->>CsvExprSuite: Test results with SparkException
TestRunner->>ReadSchemaSuite: Run schema evolution tests
ReadSchemaSuite->>SparkSuite: Extend multiple suite variants
Note over ReadSchemaSuite: CSV, JSON, ORC, Parquet<br/>with vectorized/merged variants
ReadSchemaSuite->>RapidsTrait: Mix in RapidsSQLTestsTrait
RapidsTrait->>GPU: Execute tests on GPU
GPU-->>ReadSchemaSuite: Test results
|
Signed-off-by: Gary Shen <gashen@nvidia.com>
Signed-off-by: Gary Shen <gashen@nvidia.com>
Collaborator
Author
|
build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add below suites:
Rewrote a test case "unsupported mode" to change the expected exception type.