I am using hdp 2.5.6.0-40.
I am trying to run following command.
select count(distinct a21.company_code) WJXBFS1 from dim_investment a21;.
After ran query expected output is 1. But it is giving 0.
Tried with follwoing properties.
set hive.exec.dynamic.partition=true;
set hive.exec.dynamic.partition.mode=nostrict;
set hive.vectorized.execution.enabled=true;