EwanValentine opened a new issue #10945:
URL: https://github.com/apache/druid/issues/10945


   Smile encoding throws an error, using the demo set-up and demo data:
   
   Example cURL command:
   ```bash
   $ curl -X POST 'http://localhost:8082/druid/v2/?pretty' \
       -H 'Content-Type:application/json' \
       -H 'Accept:application/x-jackson-smile' \
       -d @query.json
   
   :)
   errorPUnknown exceptionerrorMessageMissing type id when trying to resolve 
subtype of [simple type, class org.apache.druid.query.Query]: missing type id 
property 'queryType'
    at [Source: (org.eclipse.jetty.server.HttpInputOverHTTP); line: -1, column: 
0]errorClassxcom.fasterxml.jackson.databind.exc.InvalidTypeIdExceptionhost!⏎ 
   ```
   
   ### Affected Version
   
   `0.20.0` 
   
   ### Description
   
   Please include as much detailed information about the problem as possible.
   - Cluster size - local docker-compose example set-up
   - Configurations in use - defaults
   - Steps to reproduce the problem - Run the cURL command above, use the 
following query:
   
   ```javascript
   {
     "queryType": "scan",
     "dataSource": "wikipedia",
     "resultFormat": "list",
     "columns":[],
     "intervals": [
      "2013-01-01/2019-01-02"
     ],
     "batchSize":20480,
     "limit":3
    }
   ```
   


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to