提交 0a27dcd7 编写于 作者: A Adam Lee 提交者: Adam Lee

Add a case creating external table with a serial type column

This verifies PR #1514
上级 abc1aabc
...@@ -1403,3 +1403,11 @@ select distinct ptcname from ( ...@@ -1403,3 +1403,11 @@ select distinct ptcname from (
-- drop temp external protocols -- drop temp external protocols
DROP PROTOCOL if exists demoprot; DROP PROTOCOL if exists demoprot;
DROP PROTOCOL if exists demoprot2; DROP PROTOCOL if exists demoprot2;
-- create external protocol with a serial type column
CREATE EXTERNAL TABLE SERIAL (a serial, x text)
LOCATION ('file://@hostname@@abs_srcdir@/data/no/such/place/serial.tbl')
FORMAT 'csv';
-- drop temp external table
DROP EXTERNAL TABLE IF EXISTS serial;
...@@ -2847,3 +2847,10 @@ select distinct ptcname from ( ...@@ -2847,3 +2847,10 @@ select distinct ptcname from (
DROP PROTOCOL if exists demoprot; DROP PROTOCOL if exists demoprot;
NOTICE: protocol "demoprot" does not exist, skipping NOTICE: protocol "demoprot" does not exist, skipping
DROP PROTOCOL if exists demoprot2; DROP PROTOCOL if exists demoprot2;
-- create external protocol with a serial type column
CREATE EXTERNAL TABLE SERIAL (a serial, x text)
LOCATION ('file://@hostname@@abs_srcdir@/data/no/such/place/serial.tbl')
FORMAT 'csv';
NOTICE: CREATE EXTERNAL TABLE will create implicit sequence "serial_a_seq" for serial column "serial.a"
-- drop temp external table
DROP EXTERNAL TABLE IF EXISTS serial;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册