I have a table with a geospatial column that was loaded from an ESRI Shape file. It contains the Zip Codes in the US. To this, I've joined Medicare data which is aggregated by Zip Code. This is stored in a collection of SQL views in HANA.
So far, so good.
Everything works when the views are added as query layers in ArcGIS Desktop. The map displays as expected and there are no errors. The resulting map can be published to ArcGIS server.
Again, so far, so good.
When I attempt to access the same data via the ArcGIS server, rarely I'll get part of the data, but most of the time I get nothing. The following error are recorded in the ArcGIS server log with each request:
"There is an error during the draw AVG_CASE_COST_2013 (1.) Underlying DBMS error[[SAP AG][LIBODBCHDB DLL][HDBODBC] General error;2048 column store error: search table error: [2617] executor: plan operation execution failed with an exception::S1000]."
After checking SCN, some users with similar errors say the root problem may be an out of memory condition but that I should check the log files on the server.
The Index Server trace file has entries that look like this:
pop.prepare()
[4914]{317064}[43/-1] 2015-07-01 19:52:14.719124 e SERVER_TRACE TRexApiSearch.cpp(10124) : IndexID: SYSTEM:0x00007facfed01700:3:0:#60000000001172a (432345564227639083): rc=2617
[4914]{317064}[43/-1] 2015-07-01 19:52:14.719142 e SERVER_TRACE TRexApiSearch.cpp(10125) : cannot execute plan
[4914]{317064}[43/-1] 2015-07-01 19:52:14.719201 e SERVER_TRACE TRexApiSearch.cpp(10126) : query: MEDICARE_MAPPER:TEST_ZIP_SHAPEen/SHAPE (IN):'SRID=4326;POLYGON((-179.999996 -89,179.999996 -89,179.999996 89,-179.999996 89,-179.999996 -89))'(GE)
[4914]{317064}[43/-1] 2015-07-01 19:52:14.719208 e SERVER_TRACE TRexApiSearch.cpp(10127) : rc: 0
[4510]{317064}[43/-1] 2015-07-01 19:52:23.576695 i TraceContext TraceContext.cpp(00827) : UserName=SYSTEM
[4510]{317064}[43/-1] 2015-07-01 19:52:23.576685 e join_eval JEPlanOperation.cpp(00138) : Caught exception in pop 129
[4510]{317064}[43/-1] 2015-07-01 19:52:23.576710 e join_eval JEPlanOperation.cpp(00139) : exception 1: no.0 (geometry/error/GeometryError.h:93)
The HANA server is at SRS92. The ArcGIS software is at 10.3.3.
Does anybody know what this means?
Is it really an out-of-memory condition or is there some deeper problem?