just curious: do you have any specific issue with installation or so? I’ve just seen feast has also a Slack community in case you have a feast-specific question: slack.feast.dev
k
Kevin Kho
11/04/2021, 12:56 PM
I think you can use the ShellTask to invoke the Feast CLI.
👍 1
a
Aqib Fayyaz
11/04/2021, 2:00 PM
Copy code
from prefect import Flow
from prefect.tasks.shell import ShellTask
task = ShellTask(helper_script="cd ~")
with Flow("My Flow") as f:
# both tasks will be executed in home directory
contents = task(command='ls')
mv_file = task(command='mv .vimrc /.vimrc')
out = f.run()
This is working it throws error when i intentionally do something wrong but the thing is it does not tell the cause of that error just says [2021-11-04 185731+0500] ERROR - prefect.ShellTask | Command failed with exit code 1[2021-11-04 185731+0500] INFO - prefect.TaskRunner | FAIL signal raised: FAIL('Command failed with exit code 1')[2021-11-04 185731+0500] INFO - prefect.TaskRunner | Task 'ShellTask': Finished task run for task with final state: 'Failed'. it would be great if i can see the reason like table not found etc
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.