[HUDI-916]: Added support for multiple input formats in TimestampBasedKeyGenerator (#1648)
This commit is contained in:
@@ -60,7 +60,6 @@ import org.apache.spark.sql.types.StructType;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.StringReader;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.sql.Connection;
|
||||
@@ -267,12 +266,6 @@ public class UtilHelpers {
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static TypedProperties readConfig(InputStream in) throws IOException {
|
||||
TypedProperties defaults = new TypedProperties();
|
||||
defaults.load(in);
|
||||
return defaults;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a factory for creating connections to the given JDBC URL.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user