vogievetsky opened a new issue #8784: stringFirst/stringLast do not work correctly at ingest time URL: https://github.com/apache/incubator-druid/issues/8784 ### Affected Version Druid 0.16.0 ### Description It might be related to `https://github.com/apache/incubator-druid/issues/7243` I am not sure Ingested data with this spec in a quickstart cluster: ```json { "type": "index_parallel", "ioConfig": { "type": "index_parallel", "firehose": { "type": "http", "uris": [ "https://druid.apache.org/data/wikipedia.json.gz" ] } }, "tuningConfig": { "type": "index_parallel" }, "dataSchema": { "dataSource": "wikipedia-test", "granularitySpec": { "type": "uniform", "segmentGranularity": "DAY", "queryGranularity": "HOUR", "rollup": true }, "parser": { "type": "string", "parseSpec": { "format": "json", "timestampSpec": { "column": "timestamp", "format": "iso" }, "dimensionsSpec": { "dimensions": [ "channel", "cityName", "comment", "countryIsoCode", "countryName", "flags", "isAnonymous", "isMinor", "isNew", "isRobot", "isUnpatrolled", "namespace", "page", "regionIsoCode", "regionName" ] } } }, "metricsSpec": [ { "name": "count", "type": "count" }, { "name": "sum_added", "type": "longSum", "fieldName": "added" }, { "name": "sum_commentLength", "type": "longSum", "fieldName": "commentLength" }, { "name": "sum_deleted", "type": "longSum", "fieldName": "deleted" }, { "name": "sum_metroCode", "type": "longSum", "fieldName": "metroCode" }, { "name": "sum_deltaBucket", "type": "longSum", "fieldName": "deltaBucket" }, { "name": "sum_delta", "type": "longSum", "fieldName": "delta" }, { "name": "test", "type": "stringFirst", "fieldName": "user" } ] } } ``` And got:  Also that column's data type gets reported as `OTHER` 
---------------------------------------------------------------- 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]
