Ailin Yu
11/22/2022, 6:31 PMreference_launch_plans
and a dynamic
workflow. When I try to view this workflow in the Flyte console, everything shows up as unknown (Node ID’s, type, workflow/task name, etc.), and the graph doesn’t render. When I try to get execution details using flytectl get execution --details
, I get this error:
{"json":{},"level":"info","msg":"Retrieved 1 executions","ts":"2022-11-22T10:25:18-08:00"}
Error: unsupported literal scalar type *core.Scalar_Union
{"json":{},"level":"error","msg":"unsupported literal scalar type *core.Scalar_Union","ts":"2022-11-22T10:27:16-08:00"}
Is what I’m trying to do here something that isn’t supported?reference_launch_plan
here instead of reference_workflow
because I would get this error otherwise:
Exception: Reference sub-workflows are currently unsupported. Use reference launch plans instead.
ERROR: 1
Yee
Ailin Yu
11/22/2022, 7:13 PMYee
Ailin Yu
11/22/2022, 8:15 PM@workflow
def test_workflow():
lp = reference_launch_plan_1()
wf = test_workflow()
reference_launch_plan_1 >> test_workflow
This has the same behaviorreference_launch_plan
, when I remove the reference_launch_plan
the UI populates properlyreference_launch_plan
?reference_launch_plans
, most things in the UI render just fine (except for the graph). When I mix `reference_launch_plan`s with `workflow`s, everything shows up as unknown in the UIYee
unsupported literal scalar type *core.Scalar_Union
errorAilin Yu
11/23/2022, 1:52 AMYee
cookbook/ $ pyflyte -c ~/.flyte/config-sandbox.yaml register --version ref1 core/flyte_basics/hello_world.py
cookbook/ $ pyflyte -c ~/.flyte/config-sandbox.yaml register --version ref2 core/control_flow/sub_with_ref.py
on this https://github.com/flyteorg/flytesnacks/blob/sd-examples/cookbook/core/control_flow/sub_with_ref.pyPrafulla Mahindrakar
11/23/2022, 5:56 AMdoes flytectl not support displaying of unions?@Yee I was going through the code and i couldn’t find we added support for these and structured data set. Created a ticket here to track this change https://github.com/flyteorg/flyte/issues/3094
Ailin Yu
11/23/2022, 6:49 PMreference_launch_plan
>> workflow
, I instead have reference_launch_plan
>> task
, the UI renders correctly againYee
Ailin Yu
11/23/2022, 7:44 PMUI Version 1.1.6
Admin Version 1.1.28-2-gf10a7f2