Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to use direct query with Impala ODBC.
I have connected to the db, and using the following Syntax:
DIRECT QUERY
DIMENSION
`Field1`
MEASURE
`Field2`
FROM IMPALA.db.TableA
I have also SET DirectUnicodeStrings=TRUE;
But the above query is not getting executed.
I am getting this error:
[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>)
Can anyone help me with this? Am I using the correct syntax?
How is your function and script looks like. And That Measure consider as Data points only in Direct Discovery. And Can you share application sample with out connection string
CUSTOM CONNECT TO *******;
[DDQ]:
DIRECT QUERY
dimension
"last_name",
"first_name"
detail
"country"
measure
"contact_id"
FROM "public"."DDQ";
SET DirectUnicodeStrings = TRUE;
Note - For me this is working, Can you check from your end whether where you did mistake