正在生成
详细信息:
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
查看SQL DataArts Insight支持查看控件的SQL查询语句,本文介绍如何查看控件的SQL。 前提条件 已创建仪表板,请参见创建仪表板。 存在一个或多个可视化控件。 控件内已经导入数据。 操作步骤 单击控件右侧的,进入管理控件页面。 在弹出页面,单击“查看SQL”。 图1
数据库 登录的数据库名称。 SASL_SSL 开启SASL_SSL可以实现数据源和DataArts Insight之间的可信身份认证与安全数据传输。 完成配置项填写单击“连接测试”。 测试连接成功后,单击“确定”完成数据连接。 步骤3:新建数据集 新建数据集以下几种方式: DataArts
Insight将在统一身份认证服务IAM为您创建委托,授权成功后,可以进入服务委托列表查看。 表1 委托权限列表 权限名 详细信息 备注 VPC Administrator DataArts Insight数据源连接需要使用VPC、子网、路由、对等连接功能,因此需要获得使用VPC(虚拟私有云)的VPC
管理数据源 数据源创建完成后,您可以根据业务场景的需求修改、删除数据源,本节介绍修改、删除数据源的操作步骤。 前提条件 已赋予数据源的编辑权限,数据源授权请参考数据源分享协作。 编辑数据源 登录智能数据洞察控制台。 单击管理控制台左上角的,选择区域。 单击左下角的企业项目选择企业项目。
样。 单击“SQL编辑”,在SQL编辑页可以对SQL语句进行编辑修改。 SQL编辑器提供了格式化工具,可以对您输入的SQL语句格式化。 支持设置SQL参数,参数说明请参考设置SQL参数。 图2 配置字段 单击“运行”,测试运行成功后,您可以在运行页签看到运行后的数据。 单击“完成并退出”,保存修改后的数据集。
数据集作为数据源和可视化展示的中间环节,承接数据源的输入,并为可视化展示提供输入。在创建完数据源之后,您可以基于当前数据源创建数据集,也可以将多种不同的数据源中的表创建为数据集,您还可以对已添加的数据集做编辑、删除、关联、二次数据处理分析等操作。 发布区域:以控制台实际上线区域为准。 可视化新建数据集
多条件规则时,需要设置规则的关系: 且:用户可查看同时满足规则A和规则B的字段值、即规则A和规则B的交集。 或:用户可以查看满足规则A或规则B的字段值、即规则A和规则B的并集。 如需添加与规则A和规则B并列的规则,可以单击“添加关系”。即新建了规则组C。规则组C与规则A和规则B同一级别。 单击规则组C的“添
从字符串s中获取s1的开始位置。 REVERSE REVERSE(s) 将字符串s的顺序反过来。 MD5 MD5(str) 可以对字符串str进行散列,可以用于一些普通的不需要解密的数据加密。 表4 数值函数 函数 用法 说明 ABS ABS(x) 返回x的绝对值。 CEIL CEIL(x)
多条件规则时,需要设置规则的关系: 且:用户可查看同时满足规则A和规则B的字段值、即规则A和规则B的交集。 或:用户可以查看满足规则A或规则B的字段值、即规则A和规则B的并集。 如需添加与规则A和规则B并列的规则,可以单击“添加关系”,即新建了规则组C。规则组C与规则A和规则B同一级别。 忽略报表过滤器 当报表上存在相同列的过滤器时。
新建仪表板 功能介绍 新建仪表板。 URI POST /v1/{project_id}/dashboards/create 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。获取方法请参考获取项目ID。 最小长度:0 最大长度:128
ndows系统管理员身份启用命令行(cmd),并确保在insight-dev-tools路径。 npm install 组件内部的link连接。 npm link 组件初始化。 insight init 图1 初始化 “1”代表初始化命令。 “2”代表选择语言。 “3”代表组件名称,用户可自定义。
批量发布仪表板 功能介绍 批量发布仪表板。 URI POST /v1/{project_id}/dashboards/batch-publish 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。获取方法请参考获取项目ID。 最小长度:0
批量下线仪表板 功能介绍 批量下线仪表板。 URI POST /v1/{project_id}/dashboards/batch-offline 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。获取方法请参考获取项目ID。 最小长度:0
更新仪表板 功能介绍 更新仪表板。 URI POST /v1/{project_id}/dashboards/update 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。获取方法请参考获取项目ID。 最小长度:0 最大长度:128
"source_database_name" : "string", "source_schema" : "string", "source_table_name" : "string", "target_database_name" :
Insight协同使用。 与关系型数据库服务(RDS)的关系 关系型数据库(Relational Database Service)作为DataArts Insight的数据来源及数据存储。 数据来源:提供DataFrame和SQL方式从RDS中导入数据到DataArts Insight。
批量删除仪表板 功能介绍 批量删除仪表板。 URI POST /v1/{project_id}/dashboards/batch-delete 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。获取方法请参考获取项目ID。 最小长度:0
数组长度:0-2147483647 表14 DatasetTableVO 参数 参数类型 描述 id String 表ID。 最小长度:0 最大长度:64 database_name String 数据库。 最小长度:0 最大长度:128 schema_name String schema名称。 最小长度:0
Insight为您提供了开发者平台,除了系统内置的图表组件之外,您还可以开发自己的自定义组件,供您和您的组织使用。您可以使用开发者工具按组件开发规范完成组件开发,然后由管理员将开发包上传到开发者平台中。开发包上传后,管理员发布自定义组件,用户就可以在大屏、仪表板中使用自定义组件。只有拥有DataArts
本章节介绍REST API请求的组成,并以调用IAM服务的获取用户Token来说明如何调用API,该API获取用户的Token,Token可以用于调用其他API时鉴权。 您还可以通过这个视频教程了解如何构造请求调用API:https://bbs.huaweicloud.com/videos/102987