Athena - GENERIC_INTERNAL_ERROR: No value present

0

I created a table with partition projection

This is the setup:

PARTITIONED BY ( 
  `userid` string, 
  `taskid` string, 
  `accountid` string, 
  `month` int, 
  `year` int)
ROW FORMAT SERDE 
  'org.apache.hadoop.hive.ql.io.orc.OrcSerde' 
STORED AS INPUTFORMAT 
  'org.apache.hadoop.mapred.TextInputFormat' 
OUTPUTFORMAT 
  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'
LOCATION
  's3://bucketName/'
TBLPROPERTIES (
  'has_encrypted_data'='false', 
  'projection.accountid.type'='inject', 
  'projection.enabled'='true', 
  'projection.month.digits'='2', 
  'projection.month.range'='1,12', 
  'projection.month.type'='integer', 
  'projection.taskid.type'='inject', 
  'projection.userid.type'='inject', 
  'projection.year.range'='2018,2051', 
  'projection.year.type'='integer', 
  'storage.location.template'='s3://bucketName/userid=${userid}/taskid=${taskid}/accountid=${accountid}/month=${month}-${year}/',

activae query

where userid='626b4b4e-9518-46cd-a7af-0ebda24425bd' and taskid='6d45c163-d5f5-4a44-9aa5-f80e8f8152e4' and accountid = 'blabla-blabla@abc.com'
  and "month" = 12 and "year" = 2020

got

GENERIC_INTERNAL_ERROR: No value present

query id - Query Id: de3b869c-6d1a-4b10-989f-be79356569a1 Any idea why?

Thanks

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

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

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

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

관련 콘텐츠