This message was deleted.
# troubleshooting
s
This message was deleted.
v
you can add a filter in the ingestion in the transformSpec
p
thanx, that's what I thought of. but by which column? and won't it fail on the parsing before the filter anyway?
v
add a placeholder value for the __time and then filter out rows with that placeholder value
basically I think you can add a default time stamp where the timestamp is null.
add a Missing value
k
Like Vijay said: order of operations is important
Conceptually, after input data records are read, Druid applies ingestion spec components in a particular order: first
flattenSpec
(if any), then
timestampSpec
, then
transformSpec
, and finally
dimensionsSpec
and
metricsSpec
. Keep this in mind when writing your ingestion spec.
So you need to have a default time set to something, then you can filter it with a
transformSpec
p
got it - nice idea. thanx!!
k
That filter says you only want
null
rows - you probably want a
not
Copy code
"filter": {
    "type": "not",
    "field": {
      "type": "selector",
      "dimension": "column3",
      "value": null
    }
  }
1
p
worked - thanx guys!!
😎 1