返回首页

gbase数据、南大通用产品文档:GBase8screate chunk 参数:创建 chunk(SQL 管理 API)

更新日期:2024年09月11日

.........................................
- 707 -

硬件配置
服务器
CPU
内存
硬盘
网络信息

VARCHAR URI 支持的数据格式汇总
1.
支持文件类型
表5- 43 文件类型
文件类型
URI 标识
说明
Txt
Content-Type:text/plain

GBase 8a MPP Cluster 产品手册
5 数据库管理指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
922
Pdf
Content-Type:application/pdf
Word
Content-Type:application/msword
只支持doc,
不支持docx。
Zip
Content-Type:application/zip
只会读取第一个文件,只
能txt 类型。
Xml
Content-Type:application/xml
2.
支持ftp 文件。
举例如下(包括有密码和无密码方式):
INSERT INTO fturi VALUES
('ftp://ldy:liang999@127.0.0.1/test/a01.txt\r\nContent-Type:text/plain\r\n
\r\n');
INSERT INTO fturi VALUES
('ftp://192.168.159.220/pub/a02.txt\r\nContent-Type:text/plain\r\n\r\n');
3.
支持http 文件。
举例如下(无密码):
INSERT INTO fturi VALUES
('http://192.168.159.220/a03.txt\r\nContent-Type:text/plain\r\n\r\n');
4.
URI 文件路径的转义字符
URI 路径采用标准格式,当路径含有特殊字符时需要转义。
表5- 44 标准格式
序号
字符(转义前,原始)
转义后字符
1
" "
"%20"
2
"!"
"%21"
3
"\"
"%22"
4
"#"
"%23"
5
"%"
"%25"
6
":"
"%3A"
7
";"
"%3B"
8
"<"
"%3C"
9
"="
"%3D"
10
">"
"%3E"
11
"?"
"%3F"
12
"@"
"%40"
13
"\\"
"%5C"
14
"|"
"%7C"