Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Aggregation Count does not work in some cases

$
0
0

Hi All,

 

The Aggregation count is giving error in some cases and i some cases it is not,

 

Requesting help in understanding why this is happening, Is this a bug related to SAP HANA? (I am using SAP HANA revision 60)

or is this error due to the SQL Query?

or Any other possibility?

 

 

 

selecta11.CUST_REGION_ID  ,
count(a11.CUSTOMER_ID)
from"_SYS_BIC"."Analytic view_1"a11
join Table_1pa12
  on(a11.ORDER_ID = pa12.ORDER_ID_2)
wherea11.ORDER_ID < 100000
group bya11.CUST_REGION_ID;

 

selecta11.CUST_STATE_ID ,
a11.GENDER_ID  ,
count(a11.CUSTOMER_ID) 
from"_SYS_BIC"."Analytic view_1"a11
join Table_1 pa12
  on(a11.ORDER_ID = pa12.ORDER_ID_2)
wherea11.ORDER_ID < 100000
group bya11.CUST_STATE_ID,
a11.GENDER_ID;

 

Result:

 

Could not execute 'select a11.CUST_REGION_ID , count( a11.CUSTOMER_ID)  from ...' in 2.886 seconds .

SAP DBTech JDBC: [2048]: column store error: search table error:  [6900] Error executing physical plan: exception 6900:

AttributeEngine/Parallel/Aggregation.cpp:4793

Attribute engine failed; $function$=createAggregators; $message$=invalid keyfigure SCHEMA1:_SYS_SPLIT_ORDER_FACT~1en CUSTOMER_ID@count@

,in executor::Executor in cube: _SYS_BIC:EMMAPERF/ORDER_FACT_HANA_AN_AT_VW/olap

 

 

 

Statement 'select a11.CUST_STATE_ID , a11.GENDER_ID , count(a11.CUSTOMER_ID)  from ...'

successfully executed in 3.115 seconds  (server processing time: 3.084 seconds)

Fetched 96 row(s) in 47 ms 29 µs (server processing time: 0 ms 313 µs)

 

 

Thanks,

Gayathri


Viewing all articles
Browse latest Browse all 4343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>