[Glue Error] Unable to infer schema when loading Parquet file

2025. 2. 20. 10:33·Error code 모음/11. Aws errors
반응형

1. 에러의 원인

- 데이터가 저장된 S3 의 경로를 파일이 저장된 경로의 한단계 위의 빈 경로를 가리키고 있었음

- 지정한 경로에는 파일은 없었고 순수하게 폴더만 있었음

- 그러기 때문에 파케이 파일을 직접적으로 읽을 수 없었음..

 

 

2. 에러 해결

- 파일이 저장된 경로를 직접적으로 가리켰음

- spark 에서 파케이 파일을 직접 읽을 수 있도록 지정했음

 

 

3. 참고 링크

https://stackoverflow.com/questions/44954892/unable-to-infer-schema-when-loading-parquet-file

 

Unable to infer schema when loading Parquet file

response = "mi_or_chd_5" outcome = sqlc.sql("""select eid,{response} as response from outcomes where {response} IS NOT NULL""".format(response=response)) outcome.write.parquet(response, mode="over...

stackoverflow.com

 

반응형
저작자표시 비영리 변경금지 (새창열림)

'Error code 모음 > 11. Aws errors' 카테고리의 다른 글

[Redshift Error] Caused by: com.amazon.redshift.util.RedshiftException: ERROR: COPY with MANIFEST parameter requires full path of an S3 object  (0) 2024.03.06
[RDS Error] Cannot create a publicly accessible DBInstance. The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again (Service: AmazonRDS; Status Code: 400; Error Code: InvalidVPCNetworkStateFault  (0) 2024.03.06
[AWS Error] com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx)  (0) 2024.02.07
[AWS ERROR] AccessDeniedException when calling the PutJobSuccessResult  (0) 2024.02.07
[AWS Error] EMR spark error : java.lang.ClassNotFoundException: Failed to find data source: ...  (0) 2022.03.03
'Error code 모음/11. Aws errors' 카테고리의 다른 글
  • [Redshift Error] Caused by: com.amazon.redshift.util.RedshiftException: ERROR: COPY with MANIFEST parameter requires full path of an S3 object
  • [RDS Error] Cannot create a publicly accessible DBInstance. The specified VPC does not support DNS resolution, DNS hostnames, or both. Update the VPC and then try again (Service: AmazonRDS; Status Code: 400; Error Code: InvalidVPCNetworkStateFault
  • [AWS Error] com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx)
  • [AWS ERROR] AccessDeniedException when calling the PutJobSuccessResult
쟈누
쟈누
Ad astra per aspera
    반응형
  • 쟈누
    쟈누의 기록공간
    쟈누
  • 전체
    오늘
    어제
    • 분류 전체보기 (444)
      • AWS (31)
        • Glue (4)
        • S3 (1)
      • 클라우드 (0)
      • Data Engineering (37)
        • GitHub (10)
        • NiFi (11)
        • Spark (10)
        • Snowflake (0)
        • 머신러닝, AI (6)
      • 언어 (118)
        • 데이터 베이스 (42)
        • JAVA (9)
        • Python (34)
        • Java Script (15)
        • Linux (18)
      • 프로젝트, 인강 그리고 책 (30)
        • Spotify Project (7)
        • RASA chatbot Project (9)
        • Naver shopping Project (6)
        • 빅데이터를 지탱하는 기술 (8)
      • OLD (56)
        • IT 용어 사전 (13)
        • Front End (12)
        • Back End (31)
      • Error code 모음 (165)
        • 1. SQL errors (17)
        • 2. Hadoop errors (20)
        • 3. Linux Errors (14)
        • 4. Python errors (33)
        • 5. JAVA, Spring errors (41)
        • 6. Jav Script errors (10)
        • 7. Dev Tools errors (9)
        • 8. Git errors (8)
        • 9. Jenkins Errors (4)
        • 10. airflow Errors (2)
        • 11. Aws errors (7)
      • 개인 (1)
        • 책 (1)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 블로그 관리
    • 글쓰기
  • 링크

  • 공지사항

    • 간단한 블로그 소개
  • 인기 글

  • 태그

    AWS
    Python
    SQL
    linux
    파이썬
    install
    Git
    NiFi
    에러
    설치
    node
    python error
    API
    리눅스
    json
    Spring
    MySQL
    자바
    error
    java
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
쟈누
[Glue Error] Unable to infer schema when loading Parquet file
상단으로

티스토리툴바