Skip to content

Commit

Permalink
Merge pull request #15789 from cdapio/fix-classloading-issue
Browse files Browse the repository at this point in the history
export error_details_provider_spec in hydrator-test-base
  • Loading branch information
itsankit-google authored Jan 3, 2025
2 parents a52cc72 + ff04312 commit 273bc4b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import io.cdap.cdap.etl.api.engine.sql.capability.PushCapability;
import io.cdap.cdap.etl.api.engine.sql.dataset.SQLDataset;
import io.cdap.cdap.etl.api.engine.sql.request.SQLPushRequest;
import io.cdap.cdap.etl.api.exception.ErrorDetailsProviderSpec;
import io.cdap.cdap.etl.api.join.AutoJoiner;
import io.cdap.cdap.etl.api.join.error.JoinError;
import io.cdap.cdap.etl.api.lineage.AccessType;
Expand Down Expand Up @@ -177,6 +178,7 @@ protected static void setupBatchArtifacts(ArtifactId artifactId, Class<?> appCla
PushCapability.class.getPackage().getName(),
SparkRecordCollection.class.getPackage().getName(),
Connector.class.getPackage().getName(),
ErrorDetailsProviderSpec.class.getPackage().getName(),
"org.apache.avro.mapred", "org.apache.avro", "org.apache.avro.generic",
"org.apache.avro.io");

Expand Down Expand Up @@ -210,6 +212,7 @@ protected static void setupStreamingArtifacts(ArtifactId artifactId, Class<?> ap
SparkCompute.class.getPackage().getName(),
InvalidStageException.class.getPackage().getName(),
PipelineConfigurable.class.getPackage().getName(),
ErrorDetailsProviderSpec.class.getPackage().getName(),
// have to export this package, otherwise getting ClassCastException in unit test
FieldOperation.class.getPackage().getName());

Expand Down

0 comments on commit 273bc4b

Please sign in to comment.