Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
allwefantasy committed May 22, 2021
1 parent f7a3c03 commit 3c29220
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PythonInclude(override val uid: String) extends SQLAlg with VersionCompati
val newdf = session.createDataset[String](Seq(item))
newdf.createOrReplaceTempView(tableName)
newdf.toDF()
case Array("local", path, tableName) =>
case Array("local", path, "named", tableName) =>
val includer = new ScriptIncludeSource()
val pythonCode = includer.fetchSource(session, path, Map())
val item = JSONTool.toJsonStr(Map("content" -> pythonCode))
Expand Down

0 comments on commit 3c29220

Please sign in to comment.