I have a timestamp column in DocDb, I would like to query that in Azure Data Factory copy pipeline, which copies DocDb to Azure Data Lake
I would like to
select * from c
where c._ts > '@{pipeline().parameters.windowStart}'
But I got
Errors":["An invalid query has been specified with filters against path(s) that are not range-indexed.
In the DocDb policy, I have
"includedPaths": [
{
"path": "/*",
"indexes": [
{
"kind": "Range",
"dataType": "Number",
"precision": -1
},
{
"kind": "Hash",
"dataType": "String",
"precision": 3
}
]
}
]
I think this should allow _ts int64 to be queried by range.
Where did I go wrong?
Thanks.