I want to expose some HANA system data to an app I'm writing in MS Access vba.
One example would be the data from M_SQL_PLAN_CACHE.
Now, I created a new Calculation View (Diagram, Dimension)
I add in the M_SQL_PLAN_CACHE table
Added a single column [Host] to the output, just as a normal CV I would create.
(eventually I want all columns, but a single field makes debugging easier for now)
Yet it fails to validate.
The error message is long, confusing and I'm struggling to identify a concrete cause for the failure.
However, 'assuming' it's because I am using a system table in my view.??
Any ideas if my assumption is correct ?
Any pointers on how to get past this error ?
I've attached the full error log, but also include the long gibberish below.
Many Thanks
Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:exception 1: no.9500000 (mdx/metadata/deployment/deployCalcView.cpp:642)n An internal error occurred. Assertion failed with error message DeployCalcView::xmlDataSourceTagStart: unsupported view type for M_SQL_PLAN_CACHEnexception throw location:n 1: 0x00007fe1742b3911 in ltt::logic_error::logic_error(char const*, int, ltt::error_code const&)+0x10 at stdexcept.cpp:53 (libhdblttbase.so)n 2: 0x00007fe1700f4f6a in mdx::AssertFailureError::AssertFailureError(char const*, int, ltt::basic_string<char, ltt::char_traits<char> > const&)+0x36 at mdxExceptions.cpp:144 (libhdbmdx.so)n 3: 0x00007fe17025f8e3 in mdx::metadata::DeployCalcView::xmlDataSourceTagStart(mdx::metadata::XMLInfo*)+0x19e0 at deployCalcView.cpp:642 (libhdbmdx.so)n 4: 0x00007fe17025fc7f in mdx::metadata::DeployCalcView::xmlTagStartDispatcher(mdx::metadata::XMLInfo*)+0x30b at deployCalcView.cpp:3737 (libhdbmdx.so)n 5: 0x00007fe170260088 in mdx::metadata::DeployCalcView::loopOverAuthXMLChildren(mdx::metadata::XMLInfo*)+0x14 at deployCalcView.cpp:3852 (libhdbmdx.so)n 6: 0x00007fe1702600bf in mdx::metadata::DeployCalcView::loopOverAuthXMLChildren(mdx::metadata::XMLInfo*)+0x4b at deployCalcView.cpp:3844 (libhdbmdx.so)n 7: 0x00007fe1702600bf in mdx::metadata::DeployCalcView::loopOverAuthXMLChildren(mdx::metadata::XMLInfo*)+0x4b at deployCalcView.cpp:3844 (libhdbmdx.so)n 8: 0x00007fe17026011f in mdx::metadata::DeployCalcView::createConsumptionXML(mdx::metadata::XMLInfo*)+0x3b at deployCalcView.cpp:3825 (libhdbmdx.so)n 9: 0x00007fe170266870 in mdx::metadata::DeployCalcView::deploy()+0x50 at deployCalcView.cpp:7756 (libhdbmdx.so)n10: 0x00007fe1701b800f in mdx::metadata::DeployModel::deploy(ltt::basic_string<char, ltt::char_traits<char> >&, ltt::vector<mdx::CreatedItemStructure>&, ltt_adp::vector<ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> >, ltt::integral_constant<bool, true> >&)+0x49b at deployModel.cpp:356 (libhdbmdx.so)n11: 0x00007fe1700dc428 in deploy_mdx_model+0xc4 at handle_mdx.cpp:49 (libhdbmdx.so)n12: 0x00007fe195255a23 in repo::biRuntime::generate(repo::ActiveSession*, int, ltt_adp::vector<repo::ObjectID, ltt::integral_constant<bool, true> > const&, ltt_adp::vector<Authorization::ObjectId, ltt::integral_constant<bool, true> >&)+0x1500 at biRuntime.cpp:236 (libhdbrepo.so)n13: 0x00007fe1952626d2 in repo::sqlproc::dispatchObjectIDs(repo::ActiveSession*, int, repo::ObjectType const&, ltt_adp::vector<repo::ObjectID, ltt::integral_constant<bool, true> > const&, ltt_adp::vector<Authorization::ObjectId, ltt::integral_constant<bool, true> >&, ltt_adp::vector<repo::CheckResult, ltt::integral_constant<bool, true> >&)+0x2e0 at sqlproc.cpp:75 (libhdbrepo.so)n14: 0x00007fe1952632ad in repo::sqlproc::generate(repo::ActiveSession*, int, ltt_adp::vector<repo::ObjectID, ltt::integral_constant<bool, true> > const&, ltt_adp::vector<Authorization::ObjectId, ltt::integral_constant<bool, true> >&)+0x7b9 at sqlproc.cpp:43 (libhdbrepo.so)n15: 0x00007fe195078f73 in repo::Activator::activateObjectsInternalFast2(repo::AbstractSession*, ltt_adp::vector<repo::ObjectID, ltt::integral_constant<bool, true> > const&, repo::InactiveVersion const&, repo::ActivationMode, ltt_adp::vector<Authorization::ObjectId, ltt::integral_constant<bool, true> >&, repo::ObjectDependenciesFacade&, ltt_adp::vector<repo::CheckResult, ltt::integral_constant<bool, true> >&, repo::ChangeID&)+0x11f0 at activator.cpp:736 (libhdbrepo.so)n16: 0x00007fe19507d4d1 in repo::Activator::activateObjects(repo::AbstractSession*, ltt_adp::vector<repo::ObjectID, ltt::integral_constant<bool, true> > const&, repo::InactiveVersion const&, repo::ActivationMode, bool, repo::ObjectDependenciesFacade&, ltt_adp::vector<repo::CheckResult, ltt::integral_constant<bool, true> >&, repo::ChangeID&)+0x350 at activator.cpp:272 (libhdbrepo.so)n17: 0x00007fe1957b659b in repo::RepositoryBaseFunc::activateObjectsInternal(repo::Activator&, repo::InactiveSession*, ltt_adp::vector<repo::ObjectID, ltt::integral_constant<bool, true> > const&, repo::ActivationMode, bool, ltt_adp::vector<repo::CheckResult, ltt::integral_constant<bool, true> >&, repo::ChangeID&, bool)+0x197 at repositorybasefunc.cpp:1074 (libhdbrepo.so)n18: 0x00007fe195791630 in repo::Repository::activateObjects(repo::InactiveSession*, ltt_adp::vector<repo::ObjectID, ltt::integral_constant<bool, true> > const&, repo::ActivationMode, int&, ltt_adp::vector<repo::CheckResult, ltt::integral_constant<bool, true> >&, repo::ChangeID&, bool)+0x9d0 at repository.cpp:262 (libhdbrepo.so)n19: 0x00007fe19556a5fd in repo::ProtoHandler::dispatchCheckObjects(TRexUtils::JsonObject&, TRexUtils::JsonObject&, TRexUtils::JsonAllocator&, ltt_adp::basic_ostringstream<char, ltt::char_traits<char> >&)+0x209 at proto.cpp:3566 (libhdbrepo.so)n20: 0x00007fe19558ab16 in repo::ProtoHandler::_dispatch(ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> > const&, ltt_adp::basic_ostringstream<char, ltt::char_traits<char> >&, bool&)+0xa22 at proto.cpp:1202 (libhdbrepo.so)n21: 0x00007fe19558f9a1 in repo::ProtoHandler::dispatch(ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> > const&, ltt_adp::basic_string<char, ltt::char_traits<char>, ltt::integral_constant<bool, true> >&, bool&)+0x80 at proto.cpp:931 (libhdbrepo.so)n22: 0x00007fe19559412a in repo::Transporter::handleV2()+0x476 at transport.cpp:244 (libhdbrepo.so)n23: 0x00007fe19559536f in repo::Transporter::process()+0xab at transport.cpp:37 (libhdbrepo.so)n24: 0x00007fe19559549a in processRestMessage+0xb6 at transport.cpp:387 (libhdbrepo.so)n25: 0x00007fe177447f7a in ptime::BuiltinProcedure_REPOSITORY_REST::execute(ptime::Env&) const+0xb6 at dyn.h:71 (libhdbrskernel.so)n26: 0x00007fe176ca96c5 in ptime::Proc_call::execute(ptime::Env&) const+0x281 at qe_proc_call.cc:227 (libhdbrskernel.so)nn