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/18 11:13:57 UTC

[GitHub] manjudr commented on issue #7086: Numeric columns do not support multivalue rows

manjudr commented on issue #7086: Numeric columns do not support multivalue rows
URL: https://github.com/apache/incubator-druid/issues/7086#issuecomment-464691586
 
 
   **Things which i have tried out.**
   
   
   
   
   1.  When i tried by change **$.edata.visits[*].index** to **$.edata.visits[0].index** I was able index the data into druid without any error but what if i want to index all visits list values into druid? without referring any index of visits list?
   
   ```js
   "fields": [
               {
                 "type": "path",
                 "name": "edata_visits_index",
                 "expr": "$.edata.visits[0].index"
               }
             ]
   
   ```
   
   2. When I changed the data type from `long` to `string` then i was able to index all visits list value into druid as a string format.
   But what if i want to index all visits values as long/integer data type format?
   ```
          "dimensions": [
               {
                 "type": "string",
                 "name": "edata_visits_index"
               }
             ],
   ```
   
   But If i try to index all visits value as long data type format then it will throw `" java.lang.UnsupportedOperationException: Numeric columns do not support multivalue rows.` error
   
   **Any work around to index all visits value as long/integer format ?**
   
   
   
   
   
    

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