如何在aws雅典娜中获得更多关于“hive\u bad\u data”的错误消息?

mnemlml8  于 2021-06-24  发布在  Hive
关注(0)|答案(0)|浏览(189)

我在跑步 select*** 中的语句 Athena 中的数据库表 glue . 我得到这个错误:

Your query has the following error(s):

HIVE_BAD_DATA: Error parsing field value 'false' for field 38: java.lang.Boolean cannot be cast to java.lang.Double

This query ran against the "video" database, unless qualified by the query. Please post the error message on our forum or contact customer support with Query Id: 6ab2d2e8-c0a0-4329-ac91-be2683c05462.

从错误消息中,我了解到它是关于 boolean 它的值是字符串 'false' . 但它没有告诉我哪个列有这样的错误。我有一个包含30多列的表,其中大约有9列是布尔型的。有没有更简单的方法让我找出问题列,而不是一个一个地查询它们?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题