This message was deleted.
# general
s
This message was deleted.
k
Hi Ashok, this operation can be performed using a Druid datasource as the input to an ingestion - either using Native batch (https://druid.apache.org/docs/latest/ingestion/native-batch-input-sources.html#druid-input-source) or MSQ https://druid.apache.org/docs/latest/multi-stage-query/examples.html#insert-for-reindexing-an-existing-datasource You might be able to bring in additional data by combining the Druid datasource and an external source with a JOIN as shown in https://druid.apache.org/docs/latest/multi-stage-query/examples.html#insert-with-join
a
Thanks Kyle
b
Out of curiosity, what will be in the new column? Are you adding new, separate data to the existing data? If so, how would you match it up? Or is it something derived from the existing, or what?
a
yes adding new column in the copied data-source.
actually am using kafka stream...
now requirement is to add additional (new) column to the existing data-source
which will have values for fresh streaming data / new insertion
how to do !?
b
For adding new column, If you just update the SPEC and add the new column and resubmit it Druid should be able to fetch the new column
and once new data is available from kafka side druid will have the new data in the new column
a
okay thank you Sahoo
Sahoo I checked as you mentioned above it working fine. I added new column and for new insertion am getting the value to the added new column. Is it possible to do update (similar to mysql) to the existing / previous records ?
either using druid SQL / native query ?
or how to approach ?
sorry using kafka stream (not using DSQL / native query)
b
Update is not possible i believe, you need to reingest as mentioned in this thread earlier
a
ok...