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

OData - support date and time functions

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 9.1, 8.12.6.6_3
    • 8.12.x
    • OData
    • None

    Description

      The functions date() and time() are currently not supported in odata queries, e.g. running query

      http://localhost:8080/odata4/olingo_basic/Source/SimpleDataTable?$filter=timeval%20gt%20time(now())

      returns

      <?xml version='1.0' encoding='UTF-8'?>
      <error xmlns="http://docs.oasis-open.org/odata/ns/metadata">
         <code>TEIID16027</code>
         <message>TEIID16027 Function time is not currently supported </message>
      </error>
      

      This is allowed behaviour per the odata spec, but it would be good to have these functions implemented.

      Attachments

        Activity

          People

            rhn-engineering-rareddy Ramesh Reddy
            asmigala@redhat.com Andrej Smigala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: