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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    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

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

            Dates

              Created:
              Updated: