Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Allowing date in format yyyy-MM-dd HH:mm:ss.SSSSSS #126

Closed
FreCap opened this issue Jun 13, 2021 · 4 comments · Fixed by #1821
Closed

[BUG] Allowing date in format yyyy-MM-dd HH:mm:ss.SSSSSS #126

FreCap opened this issue Jun 13, 2021 · 4 comments · Fixed by #1821

Comments

@FreCap
Copy link
Contributor

FreCap commented Jun 13, 2021

Describe the bug

This should succeed:

DELETE test_db_date_parse

PUT test_db_date_parse
{
  "mappings": {
      "properties": {
        "update": {
          "type": "date",
          "format": "strict_date_optional_time||epoch_millis||strict_date||yyyy-MM-dd HH:mm:ss||yyyy-MM-dd HH:mm:ss.SSSSSS"
        }
      
    }
  }
}

PUT test_db_date_parse/_doc/2
{

  "update":"2021-06-10 09:32:21.111974"
}

POST _opendistro/_sql
{
"query" : """SELECT * 
FROM test_db_date_parse
 """
}

Opendistro improvement for some use cases: opendistro-for-elasticsearch/sql#1118

@FreCap FreCap added Beta bug Something isn't working untriaged labels Jun 13, 2021
@penghuo
Copy link
Collaborator

penghuo commented Jun 24, 2021

Thanks for reporting the issue.

@penghuo
Copy link
Collaborator

penghuo commented Jun 24, 2021

Could you rebase the PR to OpenSearch?

@FreCap
Copy link
Contributor Author

FreCap commented Jun 24, 2021

At the moment I’m still working on ES until OpenSearch is announced stable and adopted by major companies.
Reporting it because I still believe in the long term of the project

@acarbonetto
Copy link
Collaborator

duplicate of: #794

@acarbonetto acarbonetto moved this from On Deck to In Progress for 2.9 in SQL/PPL Epic Roadmap Jun 19, 2023
@acarbonetto acarbonetto added this to Needs triage in SQL/PPL Maintenance Jun 26, 2023
@acarbonetto acarbonetto moved this from Needs triage to High priority in SQL/PPL Maintenance Jun 26, 2023
@acarbonetto acarbonetto added the v2.9.0 v2.9.0 label Jul 4, 2023
Advanced Query Infrastructure Roadmap ( SQL/PPL/Graphs ) automation moved this from Backlog to Done Jul 11, 2023
SQL/PPL Maintenance automation moved this from High priority to Closed Jul 11, 2023
@Yury-Fridlyand Yury-Fridlyand moved this from In Progress for 2.9 to In Release 2.9 in SQL/PPL Epic Roadmap Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.9.0 v2.9.0
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants