MaxCompute studio FAQ

摘要: 1. Show Table Detail 中文乱码 缘由是Intellij Appearance中使用的字符集不支持中文。须要在Appearance & Behavior -> Appearance 下使用支持中文的字符集(Microsoft YaHei)或改成Default,以下所示: 2. sql包含中文,提交后logview中文乱码 确认下你的intellij文件编码是否是UTF-8 4.studio的日志在哪里? 记录在idea.log里,能够经过Help --> Show Log in Finder 找到。html

1. 官方文档地址

https://help.aliyun.com/document_detail/50889.htmljava

2. Show Table Detail 中文乱码

缘由是Intellij Appearance中使用的字符集不支持中文,须要在Appearance & Behavior -> Appearance 下使用支持中文的字符集(Microsoft YaHei)或改成Default,以下所示:
python

3. sql包含中文,提交后logview中文乱码

确认下你的intellij文件编码是否是UTF-8:sql

4.studio的日志在哪里?

记录在idea.log里,能够经过Help --> Show Log in Finder 找到。bash

5.新建project链接时AccessId/AccessKey如何得到?

这是你与MaxCompute创建链接的鉴权信息,可点击我的信息里的accesskeys获取AK,以下图:
ide

6.我须要的表在project explorer中不存在

有两种方式能够将该表同步下来:
1)Tables & Views 右键菜单项 Open specific entity,输入你要同步的表名
2)studio默认最多抓取1k张表,可能你本地的表已经达到上限。若要修改,可在project上右键,选择show|modify project properties,而后点击setting tab,酌情修改同步列表数量。而后在Tables & Views 右键菜单项 Refresh meta ,这样会从新抓取全部的table到本地。函数

7. 如何知道我当前studio版本?

在Intellij IDEA -> Preference 或 File -> Settings 里能够看到插件版本 
工具

8. Windows上job graph展现不出来?

极可能是IntelliJ使用的jdk版本太低致使的兼容性问题,请确保jdk版本在jdk1.8_121以上。编码

9. 在studio上发布的udf,在dataworks上看不到?

dataworks的函数管理模块目前只能看到经过dataworks页面注册的函数,暂时看不到经过其余工具或命令行注册的函数。不过在dataworks或studio里写sql是能够直接使用这些函数的。idea

10. studio支持查询结果追加模式吗?我想对比几回查询的结果。

intellij平台支持将tab钉住,这样该次查询结果就不会被新的运行冲掉,相似下图:

11. 本地运行udf时报错:Unrecogonized option -w

须要将pom.xml中对sdk的依赖升级到最新0.28.4-public

12. 如何删除一个run configuration?

Edit configurations --> 在Run/Debug configurations对话框左侧列表单击选中某个configuration --> 点击工具栏上的“-”按钮。

13. 使用console报错NoClassDefFoundError: javax/xml/bind/JAXBExeption

目前console还不支持java9,请使用java8。

14. No module named odps.udf

本机须要安装pyodps ( pyodps是MaxCompute python sdk,参考文档 https://pyodps.readthedocs.io/zh_CN/latest/installation-ext-zh.html )。mac电脑在IntelliJ里调用python,默认用的/usr/bin/python,在bash_profile里配置不了。因此,请在/usr/bin/python下安装pyodps: sudo /usr/bin/python -m pip install pyodps解决。在3.0.0版本,咱们会提供一个python路径的配置项。

15. 使用studio运行pyodps脚本报错:This room(default) is not configured.

须要配置pyodps room环境,参考 https://pyodps.readthedocs.io/zh_CN/latest/interactive-zh.html

原文连接

相关文章
相关标签/搜索