Thread
#flytekit
    Robert Everson

    Robert Everson

    4 months ago
    I see above that
    flyte-cli parse-proto
    would work to print out the raw values of a proto, is there a way to get the proto from the flyte metastore directly? I’m trying to add an architecture feature to flytekit, and flyteidl and flyteadmin have both been updated, but the value isn’t making it from my register step all the way to the pod runtime, so I’m trying to debug where the breakdown is happening. I’ve copied the closure field from the tasks table, but the proto parsing isn’t outputting any information for me.
    flyte-cli parse-proto -f closure.pb -p flyteidl.core.tasks_pb2.TaskTemplate
    is what I’m trying, and I just get
    {}
    as the output
    Yee

    Yee

    4 months ago
    you’re sure the closure was downloaded correctly?
    just cat it…
    there should at least be some ascii characters in there, might mess up your terminal though
    and which table is this from?
    Robert Everson

    Robert Everson

    4 months ago
    I get a
    \x200….
    value, I manually copy pasted from the closure field, so that may not be the right way
    Yee

    Yee

    4 months ago
    what’s the size of the file?
    probably not, this is postgres right?
    Robert Everson

    Robert Everson

    4 months ago
    yep
    Yee

    Yee

    4 months ago
    i think you can query a binary column to a file..
    will probably need to set up a tunnel though since you need the file locally.
    what table is this?
    oh tasks table
    you’re referring to the
    closure
    field? this one?
    if you are, then after you pull the data, you should use
    flyteidl.admin.task_pb2.TaskClosure
    instead (in your command)
    Robert Everson

    Robert Everson

    4 months ago
    Yee

    Yee

    4 months ago
    wouldn’t the UI show that?
    Robert Everson

    Robert Everson

    4 months ago
    size is super small.
    4.0K    task_closure.pb
    Yee

    Yee

    4 months ago
    and if not the ui, just hitting the admin api.
    Robert Everson

    Robert Everson

    4 months ago
    I was hoping it would, but I’m not seeing it, though the version of flyteconsole we have deployed is using flyteidl
    0.18.9
    ah, perfect!
    Yee

    Yee

    4 months ago
    try the admin api
    Robert Everson

    Robert Everson

    4 months ago
    awesome, I see it there, thanks so much!