Open zqWu opened 1 year ago
Ad 1. That definitely be an improvment. It could be even made to set it only when executing the main statatmenet
I would add approach 3. to allow pipeline configuration to be defined in yaml as well.
great, explicit yet convienient
for example
this will be translated into
2 ways to handle this:
when see
"set xx=yy"
, do not automatic add another" SET 'execution.runtime-mode' ='batch'"
this will not help when many model, like model-1 is batch, and model-2 is streaming when run create mode1-1, it will set to batch then run create model-2, it will not guarante current mode is streaming
simply leave mode to user control eg, in model's config, pre_hook = "set xx=xx" i prefer this solution, it leaves all things transparent, despite somehow inconvenient