microscopic-honey-72761
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?microscopic-honey-72761
11/22/2022, 6:32 PMreference_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
thankful-minister-83577
thankful-minister-83577
microscopic-honey-72761
11/22/2022, 7:13 PMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
microscopic-honey-72761
11/22/2022, 8:15 PMmicroscopic-honey-72761
11/22/2022, 9:17 PMmicroscopic-honey-72761
11/22/2022, 9:18 PMmicroscopic-honey-72761
11/22/2022, 9:37 PM@workflow
def test_workflow():
lp = reference_launch_plan_1()
wf = test_workflow()
reference_launch_plan_1 >> test_workflow
This has the same behaviormicroscopic-honey-72761
11/23/2022, 12:24 AMreference_launch_plan
, when I remove the reference_launch_plan
the UI populates properlymicroscopic-honey-72761
11/23/2022, 12:24 AMreference_launch_plan
?microscopic-honey-72761
11/23/2022, 1:37 AMreference_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 UIthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
thankful-minister-83577
unsupported literal scalar type *core.Scalar_Union
errormicroscopic-honey-72761
11/23/2022, 1:52 AMthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
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.pythankful-minister-83577
thankful-minister-83577
thankful-minister-83577
icy-agent-73298
11/23/2022, 5:56 AMdoes flytectl not support displaying of unions?@thankful-minister-83577 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
microscopic-honey-72761
11/23/2022, 6:49 PMmicroscopic-honey-72761
11/23/2022, 6:50 PMreference_launch_plan
>> workflow
, I instead have reference_launch_plan
>> task
, the UI renders correctly againthankful-minister-83577
thankful-minister-83577
thankful-minister-83577
microscopic-honey-72761
11/23/2022, 7:44 PMUI Version 1.1.6
Admin Version 1.1.28-2-gf10a7f2
microscopic-honey-72761
11/23/2022, 9:30 PM