Redshift MV issue – mv_version != NULL

0

Hey guys,

I stumble upon this error while creating Materialized Views.

Every second dbt job on Redshift cluster gets failed due to this error.

Database Error in model stg_uploads (models/staging/stg_uploads.sql)
  Assert
  DETAIL:  
    -----------------------------------------------
    error:  Assert
    code:      1000
    context:   mv_version != NULL -
    query:     4441711
    location:  refresh.cpp:592
    process:   padbMAIN [pid=20121]
    -----------------------------------------------

Error message doesn't seem to be very informative.

Can anybody explain what could be the potential cause and what should I do to get rid of this error?

  • Is the possible for you to share the SQL/Code you used for the MV. You can get it based on the below query:

    select * from STL_QUERYTEXT where query = 4441711

    4441711 is the queryID from the error message you posted. If you can't find records for that queryID, it would mean that logs for that query have been purged, in which case pick a latest query with this issue

kzzzr
질문됨 2년 전53회 조회
답변 없음

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

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

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