Azure / Azure/azure-sdk-for-python

Table API query results no Timestamp property

Open
#25,403 10 comments 1 reaction 1 assignee Assigned to @annatisch View on GitHub
auto-close-exempt Client customer-reported feature-request needs-team-attention Tables
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

- **Package Name**: azure-data-tables
- **Package Version**: 12.4.0
- **Operating System**: MacOS Monterey 12.5
- **Python Version**: 3.9.13

**Describe the bug**
When I query table entities, I don't get Timestamp in the outputs. When I try to access Timestamp directly from the entity, I got AttributeError: 'TableEntity' object has no attribute 'Timestamp'.

**To Reproduce**
filter = f"SpaceId eq '{space_id}' and DataType eq '{data_type}'"
entities = client.query_entities(query_filter=filter)

[entity.Timestamp for entity in entities]

**Expected behavior**
Timestamp property should be part of the query results if select properties is not specified.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.