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

OData - support date and time functions

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: