Don't replicate inherited properties when creating a new data set.
@@ -176,13 +176,14 @@ public class JcrDataSetProvider extends BaseJcrProvider<DataSet, DataSet.ID> imp
private final Map<String, String> options = new HashMap<>();
public Builder(DataSource dataSource) {
- DataSetSparkParameters sparkParams = dataSource.getEffectiveSparkParameters();
-
this.dataSource = (JcrDataSource) dataSource;
- this.format = sparkParams.getFormat();
- this.options.putAll(sparkParams.getOptions());
- this.jars.addAll(sparkParams.getJars());
- this.files.addAll(sparkParams.getFiles());
+
+ // TODO do we really need to replicate the inherited properties?
+// DataSetSparkParameters sparkParams = dataSource.getEffectiveSparkParameters();
+// this.format = sparkParams.getFormat();
+// this.options.putAll(sparkParams.getOptions());
+// this.jars.addAll(sparkParams.getJars());
+// this.files.addAll(sparkParams.getFiles());
}
@Override
