当前位置:网站首页>Invalid operation: Load into table ‘sources_orderdata‘ failed. Check ‘stl_load_errors‘ system table
Invalid operation: Load into table ‘sources_orderdata‘ failed. Check ‘stl_load_errors‘ system table
2022-07-02 06:08:00 【布丁味】
aws今天跑copy任务时报错如下:
[XX000][500310] Amazon Invalid operation: Load into table ‘sources_orderdata’ failed. Check ‘stl_load_errors’ system table for details.;
这是啥?为啥不直接告诉我原因,这就是aws_redshift奇妙之处,他的信息要你自己去找。
解决:
1.查询错误信息
SELECT * FROM STL_LOAD_ERRORS where filename like '%你自己s3的文件路径%' order by starttime desc ;

2.参照问题表得到具体原因
我报错原因是加载数据过长,后面我在我的copy命令中加了TRUNCATECOLUMNS 避免出现长度问题,将列中的数据截断为合适的字符数以符合列规范。仅适用于具有 VARCHAR 或 CHAR 数据类型的列以及大小为 4 MB 或以下的行
这是官网地址:
https://docs.aws.amazon.com/zh_cn/redshift/latest/dg/r_Load_Error_Reference.html
边栏推荐
- 【C语言】筛选法求素数
- 【C语言】简单实现扫雷游戏
- MySQL transaction and isolation level
- token过期自动续费方案和实现
- Linkage between esp8266 and stc8h8k single chip microcomputer - Weather Clock
- Summary of MySQL constraints
- How vite is compatible with lower version browsers
- Comment utiliser mitmproxy
- PHP read file (read JSON file, convert to array)
- Step by step | help you easily submit Google play data security form
猜你喜欢

穀歌出海創業加速器報名倒計時 3 天,創業人闖關指南提前收藏!

Frequently asked questions about jetpack compose and material you

Summary of MySQL constraints

MySQL transaction and isolation level

Problems encountered in uni app development (continuous update)

Shenji Bailian 3.53-kruskal

复杂 json数据 js前台解析 详细步骤《案例:一》

Unity Shader 学习笔记(3)URP渲染管线带阴影PBR-Shader模板(ASE优化版本)

来自读者们的 I/O 观后感|有奖征集获奖名单

在uni-app中引入uView
随机推荐
[C language] simple implementation of mine sweeping game
深度学习分类网络--VGGNet
Scheme and implementation of automatic renewal of token expiration
PHP development and testing WebService (soap) -win
Brain and cognitive neuroscience matlab psychoolbox cognitive science experimental design - experimental design 4
Stc8h8k Series Assembly and c51 Real combat - NIXIE TUBE displays ADC, Key Series port reply Key number and ADC value
Web components series (VIII) -- custom component style settings
Lambda 表达式 和 方法引用
Eco express micro engine system has supported one click deployment to cloud hosting
Contest3147 - game 38 of 2021 Freshmen's personal training match_ G: Flower bed
Replace Django database with MySQL (attributeerror: 'STR' object has no attribute 'decode')
cookie插件和localForage离线储存插件
Web page user step-by-step operation guide plug-in driver js
Shenji Bailian 3.54-dichotomy of dyeing judgment
Little bear sect manual query and ADC in-depth study
如何使用MITMPROXy
Zabbix Server trapper 命令注入漏洞 (CVE-2017-2824)
Go learning notes integration
Redis key value database [seckill]
Contest3147 - game 38 of 2021 Freshmen's personal training match_ F: Polyhedral dice