You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/02/07 07:36:04 UTC

[GitHub] kamaci opened a new issue #7027: Auto Detection of Field Types

kamaci opened a new issue #7027: Auto Detection of Field Types
URL: https://github.com/apache/incubator-druid/issues/7027
 
 
   I can define auto type detection for timestamp as follows:
   
   ```
   "timestampSpec" : {
        "format" : "auto",
        "column" : "ts"
   }
   ```
   
   In similar manner, I cannot detect field type via parseSpec. I mean:
   
   `{"ts":"2018-01-01T03:35:45Z","app_token":"guid1","eventName":"app-x","properties-key1":"123"}
   `
   
   `{"ts":"2018-01-01T03:35:45Z","app_token":"guid2","eventName":"app-x","properties-key2":123}
   `
   
   Both `properties-key1` and `properties-key2` are indexed as `String`. I expect to index `properties-key2` as `Integer` at Druid.
   
   We should implement auto field type detection into Druid for a newly created field.
   
   **PS:** I've started a conversation about this task at mail list and than created an issue for it: [Druid Auto Field Type Detection](https://lists.apache.org/thread.html/f39b9d8284ab9604bc4dde2ca38c515def730c779f735cb47531506b@<dev.druid.apache.org>)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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