forked from byzer-org/byzer-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add stop condition add config skipDynamicEvaluation for datasource/alg update
- Loading branch information
1 parent
49ddc53
commit 87bce9e
Showing
5 changed files
with
92 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,8 @@ import _root_.streaming.dsl.MLSQLExecuteContext | |
import org.apache.spark.sql._ | ||
|
||
/** | ||
* 2018-12-20 WilliamZhu([email protected]) | ||
*/ | ||
* 2018-12-20 WilliamZhu([email protected]) | ||
*/ | ||
|
||
trait MLSQLDataSource { | ||
def dbSplitter = { | ||
|
@@ -44,6 +44,10 @@ trait MLSQLSource extends MLSQLDataSource with MLSQLSourceInfo { | |
def load(reader: DataFrameReader, config: DataSourceConfig): DataFrame | ||
} | ||
|
||
trait MLSQLSourceConfig { | ||
def skipDynamicEvaluation = false | ||
} | ||
|
||
trait RewriteableSource { | ||
def rewrite(df: DataFrame, | ||
config: DataSourceConfig, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters