Publicado: 25 Jul 2014
Fecha de la última modificación: 25 Aug 2015
ProblemaWhen using count distinct (COUNT D) with a live Impala connection, the following error might occur:[Cloudera][ImpalaODBC] (110) Error while executing a query in Impala: [HY000] : AnalysisException: all DISTINCT aggregate functions need to have the same set of parameters as COUNT(DISTINCT <filed-name>); deviating function: COUNT(DISTINCT <field-name>)
Entorno
SoluciónOption 1Remove multiple COUNT D statements.Option 2:
--default_query_options
CausaThis issue is caused by a limitation with the Cloudera database. Cloudera is unable to support multiple COUNT D statements in a query. For more information, see the Cloudera Issues web page.Información adicionalCloudera Aggregate Functions |
|