Skip to content

Commit

Permalink
Spark: Deprecate SparkAppenderFactory (#11076)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajantha-bhat authored Sep 27, 2024
1 parent dddb5f4 commit 09370dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
import org.apache.spark.sql.types.StructType;
import org.apache.spark.unsafe.types.UTF8String;

/**
* @deprecated since 1.7.0, will be removed in 1.8.0; use {@link SparkFileWriterFactory} instead.
*/
@Deprecated
class SparkAppenderFactory implements FileAppenderFactory<InternalRow> {
private final Map<String, String> properties;
private final Schema writeSchema;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
import org.apache.spark.sql.types.StructType;
import org.apache.spark.unsafe.types.UTF8String;

/**
* @deprecated since 1.7.0, will be removed in 1.8.0; use {@link SparkFileWriterFactory} instead.
*/
@Deprecated
class SparkAppenderFactory implements FileAppenderFactory<InternalRow> {
private final Map<String, String> properties;
private final Schema writeSchema;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
import org.apache.spark.sql.types.StructType;
import org.apache.spark.unsafe.types.UTF8String;

/**
* @deprecated since 1.7.0, will be removed in 1.8.0; use {@link SparkFileWriterFactory} instead.
*/
@Deprecated
class SparkAppenderFactory implements FileAppenderFactory<InternalRow> {
private final Map<String, String> properties;
private final Schema writeSchema;
Expand Down

0 comments on commit 09370dd

Please sign in to comment.