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.

質問済み 2年前123ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ