[MINOR] cleanup redundant comment and unused variable and fix typo (#1435)
This commit is contained in:
@@ -303,7 +303,6 @@ public class DeltaSync implements Serializable {
|
||||
t, HOODIE_RECORD_STRUCT_NAME, HOODIE_RECORD_NAMESPACE).toJavaRDD());
|
||||
}
|
||||
|
||||
// Use Transformed Row's schema if not overridden
|
||||
// Use Transformed Row's schema if not overridden. If target schema is not specified
|
||||
// default to RowBasedSchemaProvider
|
||||
schemaProvider = this.schemaProvider == null || this.schemaProvider.getTargetSchema() == null
|
||||
|
||||
@@ -124,7 +124,7 @@ public class HoodieDeltaStreamer implements Serializable {
|
||||
throw ex;
|
||||
} finally {
|
||||
deltaSyncService.close();
|
||||
LOG.info("Shut down deltastreamer");
|
||||
LOG.info("Shut down delta streamer");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,6 @@ import org.apache.hudi.common.util.Option;
|
||||
import org.apache.hudi.common.util.TypedProperties;
|
||||
import org.apache.hudi.utilities.schema.SchemaProvider;
|
||||
|
||||
import org.apache.log4j.LogManager;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.spark.api.java.JavaSparkContext;
|
||||
import org.apache.spark.sql.SparkSession;
|
||||
|
||||
@@ -33,7 +31,6 @@ import java.io.Serializable;
|
||||
* Represents a source from which we can tail data. Assumes a constructor that takes properties.
|
||||
*/
|
||||
public abstract class Source<T> implements Serializable {
|
||||
private static final Logger LOG = LogManager.getLogger(Source.class);
|
||||
|
||||
public enum SourceType {
|
||||
JSON, AVRO, ROW
|
||||
|
||||
Reference in New Issue
Block a user