glasser commented on issue #5789: Add stringLast and stringFirst aggregators 
extension
URL: https://github.com/apache/incubator-druid/pull/5789#issuecomment-472135189
 
 
   Yeah, running this task against a fresh download of 0.13-incubating 
succeeds, even though I would think it would need to invoke AggregateCombiner?
   
   ```
   {
     "type" : "index",
     "spec" : {
       "dataSchema" : {
         "dataSource" : "wikipedia",
         "parser" : {
           "type" : "string",
           "parseSpec" : {
             "format" : "json",
             "dimensionsSpec" : {
               "dimensions" : [
                 "cityName",
                 "comment",
                 "countryIsoCode",
                 "countryName",
                 "isAnonymous",
                 "isMinor",
                 "isNew",
                 "isRobot",
                 "isUnpatrolled",
                 "metroCode",
                 "namespace",
                 "page",
                 "regionIsoCode",
                 "regionName",
                 "user",
                 { "name": "added", "type": "long" },
                 { "name": "deleted", "type": "long" },
                 { "name": "delta", "type": "long" }
               ]
             },
             "timestampSpec": {
               "column": "time",
               "format": "iso"
             }
           }
         },
       "metricsSpec": [{
         "name": "channel",
         "fieldName": "channel",
         "type": "stringFirst",
         "maxStringBytes": 100
       }],
         "granularitySpec" : {
           "type" : "uniform",
           "segmentGranularity" : "day",
           "queryGranularity" : "none",
           "intervals" : ["2015-09-12/2015-09-13"],
           "rollup" : false
         }
       },
       "ioConfig" : {
         "type" : "index",
         "firehose" : {
           "type" : "local",
           "baseDir" : "quickstart/tutorial/",
           "filter" : "wikiticker-2015-09-12-sampled.json.gz"
         },
         "appendToExisting" : false
       },
       "tuningConfig" : {
         "type" : "index",
         "targetPartitionSize" : 5000000,
         "maxRowsInMemory" : 1000,
         "forceExtendableShardSpecs" : true
       }
     }
   }
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to