Hey all , looks on docs saw this example here - <h...
# general
n
Hey all , looks on docs saw this example here - https://druid.apache.org/docs/latest/tutorials/tutorial-ingestion-spec/
Copy code
{
  "type": "longSum",
  "name": "packets",
  "fieldName": "packets"
}
question - what is the different between “name” and “fieldName” , what propose of each .. ?
Pop it Up .. any answer on this .. ?
a
Hi, there’s more information here on what those fields mean: https://druid.apache.org/docs/latest/querying/aggregations/#sum-aggregators
name
is the output name.
fieldName
is the input field to look at when computing the metric.
👍 1