I'm using the `build_asset_reconciliation_sensor` ...
# ask-community
r
I'm using the
build_asset_reconciliation_sensor
where the upstream assets are "partitioned" but the sensor is not being triggered and the asset is "stale". What could be happening? It does show the upstream jobs properly. There is this message "Sensor function returned an empty result"
Screenshot 2023-01-18 at 4.40.12 PM.png
This is the code I have (just changed the asset name to X):
Copy code
sync_reconcilliation = build_asset_reconciliation_sensor(
            asset_selection=AssetSelection.keys("X"),
            name="asset_reconciliation_sensor",
        )
Also, the cursor keeps changing to arbitrary values.
s
Hey @Rafael Gomes- are you using static partitions or daily/weekly/hourly partitions?
Was asset X updated less recently than the assets above it? I'm wondering if this could be a problem with the "Stale" status and not a problem with the reconciliation sensor
r
The upstream assets are multi-partitioned. Asset X wasn't updated less recently than upstream. I end up using a
multi_asset_sensor
s
got it - our next release includes a bugfix related to multi-partitions and the asset reconciliation sensor. it might fix this issue. if you try it again after that release and it's still not fixed, let me know and I can investigate further.