Skip to content

Commit

Permalink
logging event of end and removing adaptive plan filter
Browse files Browse the repository at this point in the history
  • Loading branch information
lmassaoy committed Feb 5, 2025
1 parent a3d62e7 commit 96ee599
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public void start(SparkListenerApplicationStart applicationStart) {

@Override
public void end(SparkListenerApplicationEnd applicationEnd) {
log.info("SparkListenerApplicationEnd: {}", applicationEnd.toString());
String applicationId =
olContext.getSparkContext().map(context -> context.applicationId()).orElse(null);
log.debug("SparkListenerApplicationEnd - applicationId: {}", applicationId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ public static boolean isDisabled(OpenLineageContext context, SparkListenerEvent
new DeltaEventFilter(context),
new DatabricksEventFilter(context),
new SparkNodesFilter(context),
new CreateViewFilter(context),
new AdaptivePlanEventFilter(context))
new CreateViewFilter(context))
.anyMatch(filter -> filter.isDisabled(event.getClass().cast(event)));
}

Expand Down

0 comments on commit 96ee599

Please sign in to comment.