Impala select * 不显示 table 的所有详细信息
Impala select * does not show all details of table
我在 impala select * from table
中有一个 sql 查询,但是当我执行此查询时,某些列丢失了。
而当我这样做时 describe table
那些列就在那里。
我无法显示代码段,但未显示的类型是 maps、arrays 和 structs.
Impala 不支持。必须解压复杂类型才能显示。
The result set of an Impala query always contains all scalar types;
the elements and fields within any complex type queries must be
"unpacked" using join queries. A query cannot directly retrieve the
entire value for a complex type column. Impala returns an error in
this case. Queries using SELECT * are allowed for tables with complex
types, but the columns with complex types are skipped.
我在 impala select * from table
中有一个 sql 查询,但是当我执行此查询时,某些列丢失了。
而当我这样做时 describe table
那些列就在那里。
我无法显示代码段,但未显示的类型是 maps、arrays 和 structs.
Impala 不支持。必须解压复杂类型才能显示。
The result set of an Impala query always contains all scalar types; the elements and fields within any complex type queries must be "unpacked" using join queries. A query cannot directly retrieve the entire value for a complex type column. Impala returns an error in this case. Queries using SELECT * are allowed for tables with complex types, but the columns with complex types are skipped.