I have created an analytical view which uses aggregation as NDV on a column.
Example query:
create analytical view testdb.testAV AS select bucketdate, username, ndv(questionid) as noofquestionsasked from testdb.testsourceA group by bucketdate, username;
When I am trying to read data from the above analytical view using a select query, the measure column “noofquestionsasked” shows random symbols.
@shaun, I tried the suggestion mentioned above. My use case is to read data from external application.
The issue I am facing now is that when I try to execute the query on the base table through an external application with Impala connection, AV is not used.
Although, on running same query inside Arcadia (direct query), AV is used.
@soumyaawasthi you’ll need to configure your external application to point at the Arcadia Analytics Engine service instead of Impala if you plan to use AVs. I’m not sure how your Impala connection is being managed/generated, but for 3rd party BI tools typically the ODBC driver for Impala and Arcadia Analytics Engine can be interchanged except you will point the connection to port 31050 instead of 21050 to use Arcadia Analytics Engine.