Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
03ae8296
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
03ae8296
编写于
8月 24, 2016
作者:
A
Adam Lee
提交者:
Adam Lee
8月 29, 2016
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
s3ext: speedup regression testing
update the case which reads 5120 small files to read 2001 files.
上级
4bb762d7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
6 deletion
+6
-6
gpAux/extensions/gps3ext/regress/gpcheckcloud_regress.sh
gpAux/extensions/gps3ext/regress/gpcheckcloud_regress.sh
+1
-1
gpAux/extensions/gps3ext/regress/input/1_14_thousands_of_files.source
...ions/gps3ext/regress/input/1_14_thousands_of_files.source
+1
-1
gpAux/extensions/gps3ext/regress/output/1_14_thousands_of_files.source
...ons/gps3ext/regress/output/1_14_thousands_of_files.source
+4
-4
未找到文件。
gpAux/extensions/gps3ext/regress/gpcheckcloud_regress.sh
浏览文件 @
03ae8296
...
...
@@ -34,7 +34,7 @@ CHECK_CASES=(
# huge files
"s3://s3-us-west-2.amazonaws.com/s3test.pivotal.io/regress/hugefile/airlinedata1.csv f5811ad92c994f1d6913d5338575fe38"
"s3://s3-us-west-2.amazonaws.com/s3test.pivotal.io/regress/gzipped_normal2/ a930794bc885bccf6eed45bd40367a7d"
"s3://s3-us-west-2.amazonaws.com/s3test.pivotal.io/regress/
5120files/ 71277a7004842241191cc65146be24f6
"
"s3://s3-us-west-2.amazonaws.com/s3test.pivotal.io/regress/
2001files/ 38c18f5ddf9ef68fef9ef9842c2aa180
"
)
for
((
i
=
0
;
i<
${#
CHECK_CASES
[@]
}
;
i++
))
...
...
gpAux/extensions/gps3ext/regress/input/1_14_thousands_of_files.source
浏览文件 @
03ae8296
...
...
@@ -8,7 +8,7 @@ CREATE PROTOCOL s3 (
DROP EXTERNAL TABLE s3regress;
CREATE READABLE EXTERNAL TABLE s3regress (date text, time text, open float, high float,
low float, volume int) LOCATION('s3://s3-us-west-2.amazonaws.com/@read_prefix@/
5120
files/ config=@config_file@') FORMAT 'csv';
low float, volume int) LOCATION('s3://s3-us-west-2.amazonaws.com/@read_prefix@/
2001
files/ config=@config_file@') FORMAT 'csv';
SELECT count(*) count, round(sum(open)) sum, round(avg(open)) avg FROM s3regress;
...
...
gpAux/extensions/gps3ext/regress/output/1_14_thousands_of_files.source
浏览文件 @
03ae8296
...
...
@@ -6,11 +6,11 @@ CREATE PROTOCOL s3 (
DROP EXTERNAL TABLE s3regress;
ERROR: table "s3regress" does not exist
CREATE READABLE EXTERNAL TABLE s3regress (date text, time text, open float, high float,
low float, volume int) LOCATION('s3://s3-us-west-2.amazonaws.com/@read_prefix@/
5120
files/ config=@config_file@') FORMAT 'csv';
low float, volume int) LOCATION('s3://s3-us-west-2.amazonaws.com/@read_prefix@/
2001
files/ config=@config_file@') FORMAT 'csv';
SELECT count(*) count, round(sum(open)) sum, round(avg(open)) avg FROM s3regress;
count | sum
| avg
--------+---------
-
+-----
655360 | 23302752
| 36
count | sum | avg
--------+---------+-----
256128 | 9107189
| 36
(1 row)
DROP EXTERNAL TABLE s3regress;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录