From 2a5306d407f3757be7b5e28b11aaf4224de29bd5 Mon Sep 17 00:00:00 2001 From: Artur Owczarek Date: Fri, 29 Nov 2024 14:41:16 +0100 Subject: [PATCH] fix: Improve deprecation warning about columnLineage.datasetLineageEnabled property (#3282) Signed-off-by: Artur Owczarek --- .../agent/lifecycle/plan/column/ColumnLevelLineageUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/spark/spark3/src/main/java/io/openlineage/spark3/agent/lifecycle/plan/column/ColumnLevelLineageUtils.java b/integration/spark/spark3/src/main/java/io/openlineage/spark3/agent/lifecycle/plan/column/ColumnLevelLineageUtils.java index 8493753423..1f1f4a3555 100644 --- a/integration/spark/spark3/src/main/java/io/openlineage/spark3/agent/lifecycle/plan/column/ColumnLevelLineageUtils.java +++ b/integration/spark/spark3/src/main/java/io/openlineage/spark3/agent/lifecycle/plan/column/ColumnLevelLineageUtils.java @@ -63,7 +63,7 @@ public static Optional buildColumnLineage .isDatasetLineageEnabled(); if (!datasetLineageEnabled) { log.warn( - "DEPRECATION WARNING: The columnLineage.datasetLineageEnabled configuration is set to false. This flag will default to false in the future versions and soon will be removed (defaulting to true)."); + "DEPRECATION WARNING: The columnLineage.datasetLineageEnabled configuration is set to false. This flag will default to true in the future versions. To avoid this warning, explicitly set it to true. This warning will automatically be removed once the default is switched to true."); } facetBuilder.fields(context.getBuilder().buildFields(datasetLineageEnabled)); context