unable to write records to timestream

0

Hello, I wrote a python code that pushes cryptocurrency prices into AWS TimeStream. It was working fine until 20 seconds later where i am getting an error:

'dimension name and value exceeds the maximum supported length for dimension names and values? See quotas in timestream developer guide for additional information.

I am storing an entire orderbook for each timestamped record. They look like this:

symbol | ask_size ||. best_ask_timestamp || bid_size || asks. || best_bid_timestamp || time || bids || measure_value:varchar

Those are my field names

'BTCUSD' || 0.603747 || 1649961447.49376 || 0.59564627 || [[164996, 398741, 1628566, ...]

So literally the value for asks is a list of list that i am storing as a plain text. Is this now allowed? My goal is that when i query per timestamp, i will get a record showing the entire orderbook and best asks and bids etc.

so in summary, my asks and bids are both a length of about 20 records. i.e asks = [[2, 3, 4, 5, 55667, ..., 20]] same with bids.

Right now, when i am running my program, i am getting an error after 2 minutes:

An error occurred (ValidationException) when calling the WriteRecords operation: The dimension name and value exceeds the maximum supported length for dimension names and values. See Quotas in the Timestream developer guide for additional information.

gefragt vor 2 Jahren123 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen