技术控

    今日:118| 主题:49225
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] Process Compatibility Level 1200 SSAS Tabular Model from SSIS 2014

[复制链接]
清陌影 发表于 2016-10-15 06:43:34
197 4

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
A client wanted to upgrade their SSAS model to SSAS 2016 to take advantage of some of the features of the new level 1200 compatibility model. But they weren’t yet ready to upgrade their SSIS server from SQL 2014. This presented a problem because they had been using the Analysis Services Processing Task to process their tabular model nightly. This processing task in SSIS 2014 uses the old Analysis Management Objects , which aren’t compatible with the new SSAS tabular models.
   Attempting to use the AS Processing Task results in the following error: “[Analysis Services Execute DDL Task] Error: This command cannot be executed on database ‘MySSASDB’ because it has been defined with StorageEngineUsed set to TabularMetadata. For databases in this mode, you must use Tabular APIs to administer the database”
  The reason for keeping SSAS processing in an SSIS package was because it kept consistent logging throughout their data refresh process. So we set out to find another solution.
  The new SSAS Tabular models use Tabular Model Scripting Language (JSON) rather than XMLA. A simple process full command in TMSL might look like:
  [code]{
  "refresh": {
    "type": "full",
    "objects": [
      {
        "database": "MySSASDB"
      }
    ]
  }
}[/code]   Just pasting the JSON to process the model into an Analysis Services Execute DDL Task didn’t work. It returned the error “DDL is not valid” .
  I asked around and received a couple of solutions that worked.
  Option 1 (my less preferred option): Create an OLEDB connection manager (rather than MSOLAP) and use an Execute SQL Task.
  You can set up an OLE DB connection that looks like the below.  Create a new connection manager and choose the OLE DB connection manager type. Change the provider to Microsoft OLE DB Provider for Analysis Service 13.0 and fill in your connection information.
   
Process Compatibility Level 1200 SSAS Tabular Model from SSIS 2014-1 (compatible,advantage,databases,following,presented)

  You’ll see the connection manager show up in the Connection Managers pane looking like this:

Process Compatibility Level 1200 SSAS Tabular Model from SSIS 2014-2 (compatible,advantage,databases,following,presented)

  Drag in an Execute SQL task, use the previously defined connection manager and paste in the JSON. This works just fine, but feels a bit too much like a workaround rather than a solid solution to me.
  Option #2: Use an Analysis Services Execute DDL task and wrap the JSON in XMLA

  Drag in an Analysis Services Execute DDL task. Create a new connection manager by choosing New Analysis Services Connection.
12下一页
友荐云推荐




上一篇:a single byte write opened a root execution exploit
下一篇:Books Programmers Don't Really Read (2008)
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

姜丽萍 发表于 2016-10-17 12:05:24
站位支持
回复 支持 反对

使用道具 举报

Lover. 发表于 2016-10-17 13:30:00
我是耶稣他儿子,椰子!
回复 支持 反对

使用道具 举报

gao3669858 发表于 2016-10-21 03:02:27
走自己的路,让别人打车去吧。  
回复 支持 反对

使用道具 举报

Vrince 发表于 2016-10-22 13:47:24
边撸边过
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表