Hi Prabhakar
I don't believe that the metastore supports tables that have a varying
schema.
Regards
James
On 2023/09/25 14:40, Prabhakar Bhosale wrote:
Hi Team,
I am getting the following error when I run the analyze query command on
parquet tables.
The sequence of activities are as follows
1. Run analyze table command on a parquet table (folder having one parquet
file) with 3 columns
2. add another parquet file in that folder but add one additional column in
it.
3. Run analyze table command
It gives the following error. Please advise.
org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR:
NullPointerException: Cannot invoke
"org.apache.drill.metastore.statistics.ColumnStatistics.get(org.apache.drill.metastore.statistics.StatisticsKind)"
because the return value of
"org.apache.drill.metastore.metadata.BaseMetadata.getColumnStatistics(org.apache.drill.common.expression.SchemaPath)"
is null
REgards
Prabhakar