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회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠