Skip to content

[BUG] OpenSearch does not support timestamp format {ts 'YYYY-MM-DD hh:mm:ss'} #364

@ghost

Description

Describe the bug
OpenSearch does not support timestamp format {ts 'YYYY-MM-DD hh:mm:ss'} which results in date filters on PowerBI to fail.

To Reproduce
Or for query issues:

  1. Start OpenSearch server
  2. Run the query 'SELECT {ts '1975-11-12 00:00:00'}'
  3. See error 'Invalid SQL query'

Expected behavior
This query should have the same result as TIMESTAMP('1975-11-12 00:00:00')

Screenshots
image

Additional context
Used OpenSearch version 1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglegacyIssues related to legacy query engine to be deprecatedpowerBI

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions