ilhanadiyaman opened a new issue #11804: URL: https://github.com/apache/druid/issues/11804
### Affected Version 0.22.0 ### Description I'm following the tutorial for [updating existing data](https://druid.apache.org/docs/0.22.0/tutorials/tutorial-update-data.html) by using the quick-start scripts. In the 3rd step, I should be able to combine old data from data source with the new data from the JSON. However, the end result is not quite like how it is shown in the docs. According to the docs, I should get "aadvark", "bear" from old data as well as rolled-up "lion". However, I'm getting the results below. ``` dsql> select * from "updates-tutorial"; ┌──────────────────────────┬──────────┬───────┬────────┐ │ __time │ animal │ count │ number │ ├──────────────────────────┼──────────┼───────┼────────┤ │ 2018-01-01T01:01:00.000Z │ lion │ 1 │ 300 │ │ 2018-01-01T05:01:00.000Z │ mongoose │ 1 │ 737 │ │ 2018-01-01T06:01:00.000Z │ snake │ 1 │ 1234 │ │ 2018-01-01T07:01:00.000Z │ octopus │ 1 │ 115 │ └──────────────────────────┴──────────┴───────┴────────┘ ``` It looks like instead of combining the old and new data, it just overwrites entire segment with new data. I'm not sure if this is the expected behaviour of the `combining` inputSource or there is a bug. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
