You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "matheuscarreirod (via GitHub)" <gi...@apache.org> on 2023/02/08 23:54:05 UTC

[GitHub] [pinot] matheuscarreirod opened a new issue, #10250: Invalid Date format

matheuscarreirod opened a new issue, #10250:
URL: https://github.com/apache/pinot/issues/10250

   **Hi, i'm trying to create a schema in swaggerAPI /schema and i'm getting this error:**
   
   {
     "code": 400,
     "error": "Invalid schema: "schemaName" Reason: invalid datetime format: SIMPLE_DATE_FORMAT|yyyy-MM-dd HH:mm:ss"
   }
   
   **that's my input:**
   
       "dateTimeFieldSpecs": [
           {
               "name": "Data_da_Medição",
        "dataType":"STRING", "format":"SIMPLE_DATE_FORMAT|yyyy-MM-dd HH:mm:ss",
               "granularity":"1:SECONDS"
           }
   
   **and this is my data:**
   
   {"Data da Medição":"2022-01-08 00:43:00"}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] Jackie-Jiang commented on issue #10250: Invalid Date format

Posted by "Jackie-Jiang (via GitHub)" <gi...@apache.org>.
Jackie-Jiang commented on issue #10250:
URL: https://github.com/apache/pinot/issues/10250#issuecomment-1423438252

   Which version of Pinot are you using? IIRC this format is introduced in release 0.11


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org