上传压缩包

linux环境编译TPC-H tools_tpch

复制

linux环境编译TPC-H tools_tpch_02

修改makefile文件

linux环境编译TPC-H tools_tpch_03

make -f makefile

linux环境编译TPC-H tools_tpch_04

linux环境编译TPC-H tools_tpch_05

可以看到dbgen和qgen是新生成的

测试一下

linux环境编译TPC-H tools_tpch_06

linux环境编译TPC-H tools_tpch_07

这时我们可以看到,生成文件最后的分隔符是“|”,可以把分隔符去掉

这样设置,在config.h文件末尾增加

#define EOL_HANDLING

linux环境编译TPC-H tools_tpch_08

这样再生成文件,末尾就没有分隔符了,重新进行make

make -f makefile

然后生成文件

linux环境编译TPC-H tools_tpch_09

末尾就没有分隔符了。