Structure of a Glue Table can not be viewed in AWS Athena

0

When Glue table is created in CDK V2, AWS Athena can not SHOW CREATE TABLE over it.

[ErrorCategory:USER_ERROR, ErrorCode:DDL_FAILED], Detail:FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.NullPointerException

Is there a kind of limitation?

  • I don't think it is related with CDK but with the table definition being invalid (missing something)

  • But the table works well. I can do SELECT / INSERT etc.

  • That is peculiar but not altogether surprising, to generate the DDL it needs everything, to query maybe doesn't need whatever is missing. I would create a similar table with Athena or the console and compare what are you missing in CDK, depends a lot on the kind of table

profile picture
Smotrov
질문됨 일 년 전93회 조회
답변 없음

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

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

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

관련 콘텐츠