Open yingsu00 opened 1 year ago
@Yuhta Jimmy, is INSERT INTO SELECT
supported or not?
@yingsu00 It is supported. The schema in TableWriter is weird here:
TableWriter => [rows:bigint, fragments:varbinary, commitcontext:varbinary, min:bigint, max:bigint, approx_distinct:varbinary, count:bigint, min_79:bigint, max_80:bigint, approx_distinct_81:varbinary, count_82:bigint, min_83:bigint, max_84:bigint, approx_distinct_85:varbinary, count_86:bigint, min_87:integer, max_88:integer, approx_distinct_89:varbinary, count_90:bigint, min_91:double, max_92:do>
@Yuhta I think they are the stats columns
@kewang1024 @xiaoxmeng Do we see similar thing in our queries?
It is highly due to a missing feature: column stats collection, I'm currently working on adding this support.
set session hive.collect_column_statistics_on_write=true;
to disable the feature and try the query again
Bug description
First start HiveExternalQueryRunner, create an empty DWRF table
Then insert into it from an existing table lineitem
System information
N/A I think this is irrelevant
Relevant logs
No response