[AWS] Redshift 오류 해결 기록

JaeIn Kim

--

현상: 프로시저 실행 시 오류는 없으나 적재되지 않음

원인: 테이블에 후미에 추가된 컬럼을 insert 절에 추가하지 않음
(당연히 null로 들어갈 줄로 예상함)

조치: 프로시저 내 insert 절 내 신규 추가 컬럼 추가

현상:

  • 크롤링할 때 csv 파일에는 이상이 없으나 크롤링 후 VARCHAR -> DATE 과정 중에 특수문자가 들어감
  • WHERE STD_DT LIKE ‘%20200101’로 해도 잡히지 않음

원인: AWS 자체 내부의 문제라고 추정됨. 특정 CSV 파일에 한해 발생함

조치: RIGHT함수 처리함

현상: date_part의 to_timestamp의 인식 문제

원인: aws 내부 문제로 판단됨 (서칭 중 issue 제기된 것을 확인함)

https://forums.aws.amazon.com/thread.jspa?threadID=300938

조치: cast 조치함

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

JaeIn Kim
JaeIn Kim

No responses yet

Write a response