P.P.S. It’s not the type system either, from what I can see.
{
q(func:has(hours.tracked)) @filter(gt(hours.tracked,2019-01-01)){
hours.tracked
}
}
Gives:
{
"data": {
"q": [
{
"hours.tracked": "2019-10-17T00:00:00Z"
},
{
"hours.tracked": "2019-10-24T00:00:00Z"
},
Whereas:
{
q(func:has(hours.tracked)) @filter(gt(hours.tracked,2020-01-01)){
hours.tracked
}
}
Gives:
{
"data": {
"q": []
},
"extensions": {
"server_latency": {
"parsing_ns": 137500,
"processing_ns": 28087400,
"encoding_ns": 15600,
"assign_timestamp_ns": 2130300,
"total_ns": 30931800
},
"txn": {
"start_ts": 774733
},
"metrics": {
"num_uids": {
"hours.tracked": 0
}
}
}
}
Again, the 2019 query contains no 2020 entries.