HIVE_METASTORE_ERROR: com.amazonaws.services.datacatalog.model.InvalidInputException: Error: type expected at the position 0 of 'text' but 'text' is found.

0

Running any query in Athena on a particular table "sometable" fails after ~15 seconds eg:

SELECT * FROM "somedatabase"."sometable" limit 10;

And returns this error message

HIVE_METASTORE_ERROR: com.amazonaws.services.datacatalog.model.InvalidInputException: Error: type expected at the position 0 of 'text' but 'text' is found. (Service: null; Status Code: 0; Error Code: null; Request ID: null; Proxy: null)

We double checked that data type declarations have no upper/camel casing and column names do not contain invalid characters such as spaces or hyphens. How can we pinpoint the problematic column or identify what's causing the error?

azhang
質問済み 1年前83ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ