S3文件导入Redshift,Check 'stl_load_errors' system table for details.
2018-02-07 11:45
155 查看
在将S3文件导入到Redshifit,提示错误:
psycopg2.InternalError: Load into table 'table_name' failed. Check 'stl_load_errors' system table for details.并没有具体的错误原因,只能按照提示查系统表stl_load_errors。
解决方案:
在Redshift中查询系统表STL_LOAD_ERRORS:
SELECT * FROM STL_LOAD_ERRORS where filename like '%S3上的文件名%' order by starttime desc limit 10
最后两列err_code,err_reason。根据error_reason就是具体的错误原因。
也可以参照官网中对于err_code的解释:
https://docs.aws.amazon.com/redshift/latest/dg/r_Load_Error_Reference.html
psycopg2.InternalError: Load into table 'table_name' failed. Check 'stl_load_errors' system table for details.并没有具体的错误原因,只能按照提示查系统表stl_load_errors。
解决方案:
在Redshift中查询系统表STL_LOAD_ERRORS:
SELECT * FROM STL_LOAD_ERRORS where filename like '%S3上的文件名%' order by starttime desc limit 10
最后两列err_code,err_reason。根据error_reason就是具体的错误原因。
也可以参照官网中对于err_code的解释:
https://docs.aws.amazon.com/redshift/latest/dg/r_Load_Error_Reference.html
相关文章推荐
- 125.You want to check the details of few errors that users have reported. You search for the alert l
- mysql文件导入到数据库load data infile into table 的使用例子
- loadrunner场景中Erro.. Failed to connect to load generator.Check the output windows for more details
- "Unable to compile template. Check the Errors list for details" 问题解决办法
- loadrunner 连接负载机时"Failed to connect to the load generator.Check the output window for more details"
- hive sequencefile导入文件遇到FAILED: SemanticException Unable to load data to destination table. Error: The file that you are trying to load does not match the file format of the destination table.错误
- #项目导入AS出错:Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
- Jenkins 安装启动提示“iJob for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.”
- 解决eclipse3.2和myeclipse5.0m2在打开jsp文件时发生"An error has occurred.See error log for more details"错误的解决办法
- MySQL LOAD DATA导入TXT文件
- Eclipse for C/C++(五)文件导入--已有工程和Git工程
- 用Navicat for Mysql导入.sql文件
- 如何使用navicat for mysql连接本地数据库,并且导入数据文件
- 用android虚拟机,向sdcard导入文件时候报错 transfer error: Read-only file system
- linux64位编译php遇到configure: error: GD build test failed. Please check the config.log for details
- navicat for mysql 导入xlsx,提示 无法打开文件
- 解决Virtual Box 下安装Mac OS X时出现的“hfs: could not initializc summary table for OSX Base System ”问题
- System.IO.FileLoadException: 未能加载文件或程序集“Microsoft.ReportingServices.UpgradeScripts, Version=10.0.0.0
- android 虚拟机,文件导入sdcard下报错,Read-only file system
- Navicat for MySQL如何导入SQL文件