Skip to content

Spark 4.2: SQL Last Attempt Metric (SLAM) not propagated through Comet operators #4963

Open

Description

@andygrove

Spark 4.2 adds a "SQL Last Attempt Metric" (SLAM) feature and test suites that assert on the metric value recorded for a query's executed plan.

When Comet is enabled, Comet replaces the Spark operators with native equivalents and the SLAM metric value is not propagated through the plan, so lastAttemptValueForDataset / lastAttemptValueForHighestRDDId return None.

Affected Spark SQL test suites (currently marked IgnoreComet / IgnoreCometSuite in dev/diffs/4.2.0.diff):

  • SQLLastAttemptMetricPlanShapesSuite (whole suite)
  • MetricsFailureInjectionSuite (whole suite)
  • SQLLastAttemptMetricIntegrationSuite ("dataset updates")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:lowspark 4.2spark sql tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions