나는 파이썬 드라이버를 사용하여 몇 가지 시계열 데이터를 얻고 있습니다. 나는 데이터를 빈약 한 배열에 갖고 싶어.카산드라 큰 파이썬 쿼리
그래서 문제는 pagedResult를 변환하는 것입니다. 이는 numpy 배열로 나타납니다. 현재 나는 단지 for row in result: out.append(row.price)
입니다. 페이지 매김 때문에 매우 느립니다. 어떻게 빨리 약 10^7 행을 읽고 NumPy와로받을 수 있나요 나는 statement = SimpleStatement(select_query, fetch_size=10**6)
를 사용하여 시도하지만
cassandra.ReadTimeout: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 0 responses." info={'received_responses': 0, 'data_retrieved': False, 'required_responses': 1, 'consistency': 1}```
를 얻을?