Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1818

XMLQuery/XMLTable prepared context type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Done
    • 7.1
    • 7.6
    • Query Engine
    • None
    • Hide

      Use an explicit cast/convert, xmlparse, etc.: select xmlquery('/a' passing cast(? as xml))

      Show
      Use an explicit cast/convert, xmlparse, etc.: select xmlquery('/a' passing cast(? as xml))

    Description

      A query such as "select xmlquery('/a' passing ?)" will not resolve since no type is associated with the parameter. The context item at least should be known to be xml. Other passing clause values are currently allowed to multiple types and would require a cast/convert.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: