如何使用.analyticview xml描述符文件在SAP HANA数据库中重现分析视图? [英] how to reproduce an analytic view in SAP HANA database using the .analyticview xml descriptor file?
问题描述
我正在尝试使用.analyticview XML文件描述符重现一个已经在另一个项目中的一个项目中建模的分析视图.
I am trying to reproduce an analytic view that have already been modeled in one project within another project using the .analyticview XML file descriptor.
我设法通过将.attributeview xml文件复制并激活到新项目中来重现所需的属性视图.但是,当尝试激活.analyticview时,出现一条错误消息:
I managed to reproduce the required attribute views by copying and activating the .attributeview xml files to the new project. But when trying to activate the .analyticview I am getting an error saying:
Internal deployment of object failed;Repository: Encountered an error in repository
runtime extension;Model view/data not consistent:Deploy Model: Empty XML read from
Repository for Dimension URI /path_to_attributeView/attributeviews/ITEM
显然,问题在于分析视图无法读取属性视图.因此,我尝试在.analyticview xml中手动编辑指向属性视图的路径,我尝试了:
Obviously the problem is that the analytic view is not able to read the attribute views. So, I tried to edit the path pointing to the attribute views in the .analyticview xml manually, I tried:
- 使用相对路径./attributeviews/ITEM,因为属性视图和分析视图文件位于同一文件夹中.
- 使用绝对路径,考虑到存储库工作区的文件夹结构是folder1/folder2/data/name.attributeview,我将此路径添加到了文件中,但是仍然遇到相同的错误.
请您检查出什么问题了吗?
Could you please check what's wrong?
谢谢
推荐答案
几件事:
- 您正在使用的用户是否可以看到属性视图?
- 如果您使用的是HANA Studio,请尝试使用建模器编辑器打开分析视图描述符,以了解问题所在
- 附加分析视图xml本身会很有用.
这篇关于如何使用.analyticview xml描述符文件在SAP HANA数据库中重现分析视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!