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

Graph/wcc fails if the user specifies a schema for the output table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v1.17
    • Module: Graph
    • None

    Description

      Weakly connected components fail with the following query

      select madlib.weakly_connected_components(
      'a.vertex',
      'id',
      'a.edge',
      'src=src,dest=dest',
      'a.wcc'
      );

      with the following error:

      ERROR: plpy.SPIError: syntax error at or near "."(Where Traceback (most recent call last):

      PL/Python function "weakly_connected_components", line 21, in <module>

      return wcc.wcc(**globals())

      PL/Python function "weakly_connected_components", line 296, in wcc

      PL/Python function "weakly_connected_components"; Position 87; qALTER TABLE madlib_temp_newupdate18934479_1579437424_56662348 RENAME TO a.wcc; File plpython.c; Line 5038; Routine PLy_elog; )

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            okislal Orhan Kislal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: