Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8405

Document UDA state machine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Docs
    • ghx-label-7

    Description

      The documentation in "The Underlying Functions for a UDA" doesn't do a good job of explaining the state transitions that a UDA can go through. E.g. when is Serialize() called. It's complicated because data needs to be serialized to go over the network, but sometimes is serialized to spill to disk, which changes the sequence of function calls.

      See https://community.cloudera.com/t5/Interactive-Short-cycle-SQL/Function-execution-flow-in-UDAs-and-memory-implications-for/m-p/88892#M5532?eid=1&aid=1 for a user who is trying to understand this.

      Attachments

        1. udaf_state_machine.png
          17 kB
          Kris Hahn
        2. screenshot-1.png
          36 kB
          Alexandra Rodoni

        Activity

          People

            Unassigned Unassigned
            tarmstrong Tim Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: