Skip to content

Commit

Permalink
Merge branch 'master' into MPIP-1031
Browse files Browse the repository at this point in the history
  • Loading branch information
allwefantasy committed Apr 18, 2019
2 parents 17e43e5 + 8d84636 commit c9f8a9a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ object OperateType extends Enumeration {
object TableType {
val HIVE = TableTypeMeta("hive", Set("hive"))
val HBASE = TableTypeMeta("hbase", Set("hbase"))
val HDFS = TableTypeMeta("hdfs", Set("parquet", "json", "csv", "image", "text", "xml", "excel"))
val HDFS = TableTypeMeta("hdfs", Set("parquet", "json", "csv", "image", "text", "xml", "excel", "libsvm"))
val HTTP = TableTypeMeta("http", Set("http"))
val JDBC = TableTypeMeta("jdbc", Set("jdbc", "streamJDBC"))
val ES = TableTypeMeta("es", Set("es"))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package streaming.core.datasource.impl

import streaming.core.datasource.MLSQLBaseFileSource
import streaming.dsl.mmlib.algs.param.{BaseParams, WowParams}

/**
* 2019-04-18 WilliamZhu([email protected])
*/
class MLSQLLibSVM(override val uid: String) extends MLSQLBaseFileSource with WowParams {
def this() = this(BaseParams.randomUID())

override def fullFormat: String = "libsvm"

override def shortFormat: String = "libsvm"

}

0 comments on commit c9f8a9a

Please sign in to comment.