[Bug] Azure Table row key not honoured
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
The issue provides a Python v2 function using the Azure table_input binding, along with reproduction steps and logs. Start by reproducing the binding with the shown row_key and partition_key, then trace how the table input is resolved. Done means the binding returns only the requested row and a regression check covers that behavior.
Written by the indexing model from the issue text.
Description
Expected Behavior
I want to read only rows for specific row key and partition key from a table storage in azure.
Actual Behavior
The function returned all rows for the partition instead of filtering on row key.
Steps to Reproduce
- Create a python v2 function in vs code on mac.
- Specify the table as input binding with the relevant details
- Print the table data read
Relevant code being tried
import logging
import azure.functions as func
import json
app = func.FunctionApp()
@app.table_input(arg_name="messageJSON",
connection="table_conn",
table_name="lastSyncStatus",
row_key="inspector",
partition_key="category")
@app.timer_trigger(schedule="0 */5 * * * *", arg_name="myTimer", run_on_startup=False, use_monitor=False)
def table_in_binding(myTimer: func.TimerRequest, messageJSON):
message = json.loads(messageJSON)
logging.info(message)
Relevant log output
Executing 'Functions.table_in_binding' (Reason='This function was programmatically called via the host APIs.', Id=33c96dd8-2a8a-4182-af0c-fe5b884e4373)
[2025-07-28T18:44:02.465Z] [{'PartitionKey': 'category', 'RowKey': 'infrastructure', 'last_sync_time': '2025-07-28T18:15:00.004945+00:00', 'pipeline_succeeded': False}, {'PartitionKey': 'category', 'RowKey': 'inspector', 'last_sync_time': '2025-07-28T18:15:00.004945+00:00', 'pipeline_succeeded': True}]
[2025-07-28T18:44:02.476Z] Executed 'Functions.table_in_binding' (Succeeded, Id=33c96dd8-2a8a-4182-af0c-fe5b884e4373, Duration=1025ms)
requirements.txt file
azure-functions
Where are you facing this problem?
Local - Core Tools
Function app name
No response
Additional Information
No response
- Dominant language
- Python
- Stars
- 357
- Forks
- 116
- Avg merge
- 32m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-functions-python-worker
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug python
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Azure/azure-functions-python-worker#1881 · 2 comments · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
Azure/azure-functions-python-worker#1908 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Azure/azure-functions-python-worker#1906 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in Azure/azure-functions-python-worker
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100