Closed Ada-Nick closed 2 years ago
Hi @Ada-Nick looks like wrangler timestream module doesn't yet know how to interpret arrays e.g. multiple dimensions per measure in this case. Worst case we can cast nested structures to an object or expand it to multiple rows (which won't be possible in all cases)
@Ada-Nick Please see if that works for you
pip install git+https://github.com/awslabs/aws-data-wrangler.git@timestream-show-measures
wr.timestream.query(sql='SHOW MEASURES from "..."."..."')
measure_name data_type dimensions
0 measure1 multi [{'RowValue': {'Data': [{'ScalarValue': 'dim1'...
Great thanks
Describe the bug
When running:
The query fails to execute with error:
How to Reproduce
Expected behavior
Return a pandas dataframe with a single column containing all the measures from my table
Your project
No response
Screenshots
No response
OS
Win
Python version
3.9.7
AWS DataWrangler version
2.15.1
Additional context
No response