Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-851

DBConnector cannot handle return type RECORD without tuple descriptor provided at call time

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Reproducing:

      • write an UDF (e.g. foo) returns RECORD using C++ AL
      • call:
        SELECT foo();

      Debugging:
      In file SystemInformation_impl.hpp, the case that get_call_result_type() returns NULL is not handled correctly.

      Work-around:
      Can be worked around by giving the tuple descriptor "func(...) AS t(...)".

        Attachments

          Activity

            People

            • Assignee:
              riyer Rahul Iyer
              Reporter:
              haying Xixuan (Aaron) Feng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: