Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-3177

Error when selecting count(*) from event_log_reader UDF

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-incubating
    • Fix Version/s: 2.4
    • Component/s: sql-general
    • Labels:
      None

      Description

      When selecting no columns from the event_log_reader UDF, like in a select count( * ), I am getting the following error:

      >>prepare s from select count( * ) from udf(event_log_reader());

          • ERROR[11252] Trying to access column number 11 but column list has only 10 elements (SQLSTATE 38900)

      This is the same for both the predefined UDF or the one in schema "LIBMGR".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hzeller Hans Zeller
                Reporter:
                hzeller Hans Zeller
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: