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/26 08:48:56 UTC

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

manjudr commented on issue #7086: [ERROR] Numeric columns do not support multivalue rows
URL: https://github.com/apache/incubator-druid/issues/7086#issuecomment-467350662
 
 
   @gianm 
   Though we have tried with `Transform Specs` using `cast` function Still we couldn't able to achieve  it.
   ```js
   "transformSpec": {
           "transforms": [
             {
               "type": "expression",
               "name": "edata_visits_index",
               "expression": "cast(edata_visits_index,'LONG')"
             }
           ]
   }
   ```
   **Output:**  
   
   ```js
   [
     {
       "segmentId": "datasource-events-33_2019-11-07T00:00:00.000Z_2019-11-08T00:00:00.000Z_2019-02-26T07:42:38.349Z",
       "columns": [
         "edata_visits_index"
       ],
       "events": [
         {
           "__time": 1573146630927,
           "edata_visits_index": "0"
         }
       ]
     }
   ]
   ```
   
   Any other alternative solution to convert the `String` value into `Long` type
   
   
   
   
   

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