Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def deleteBlock(fileName,beginPattern, endPattern):
print(("IOERROR", IOError))
sys.exit()
else:
print("***********%s file does not exits"%(fileName))
print("***********%s file does not exist"%(fileName))

def make_inf_hosts(hp, hstart, hend, istart, iend, hf=None):
hfArr = []
Expand Down
2 changes: 1 addition & 1 deletion src/backend/access/appendonly/appendonlyblockdirectory.c
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ load_last_minipage(AppendOnlyBlockDirectory *blockDirectory,
* find_minipage_entry
*
* Find the minipage entry that covers the given rowNum.
* If such an entry does not exists, -1 is returned. Otherwise
* If such an entry does not exist, -1 is returned. Otherwise
* the index to such an entry in the minipage array is returned.
*/
static int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class CExpressionPreprocessorTest
// check if a given expression has a subquery exists node
static BOOL FHasSubqueryExists(CExpression *pexpr);

// check if a given expression has a subquery not exitst node
// check if a given expression has a subquery not exists node
static BOOL FHasSubqueryNotExists(CExpression *pexpr);

// check if a given expression has an ALL subquery
Expand Down
2 changes: 1 addition & 1 deletion src/backend/utils/misc/guc_gp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5522,7 +5522,7 @@ check_hot_dr(bool *newval, void **extra, GucSource source)
if (*newval && IS_QUERY_DISPATCHER() && !checkGpSegConfigFtsFiles())
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("cannot enable \"hot_dr\" since DR cluster segment configuration file does not exits")));
errmsg("cannot enable \"hot_dr\" since DR cluster segment configuration file does not exist")));

return true;
}
Expand Down
25 changes: 5 additions & 20 deletions src/test/regress/expected/tpcds_q04.out
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ SET default_table_access_method = ao_column;
--
-- Name: catalog_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.catalog_sales;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.catalog_sales;
^
DROP TABLE IF EXISTS cte_bug.catalog_sales;
CREATE TABLE cte_bug.catalog_sales (
cs_sold_date_sk integer,
cs_sold_time_sk integer,
Expand Down Expand Up @@ -98,10 +95,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: customer; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.customer;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.customer;
^
DROP TABLE IF EXISTS cte_bug.customer;
CREATE TABLE cte_bug.customer (
c_customer_sk integer NOT NULL,
c_customer_id character varying(16) NOT NULL,
Expand Down Expand Up @@ -144,10 +138,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: date_dim; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.date_dim;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.date_dim;
^
DROP TABLE IF EXISTS cte_bug.date_dim;
CREATE TABLE cte_bug.date_dim (
d_date_sk integer NOT NULL,
d_date_id character varying(16) NOT NULL,
Expand Down Expand Up @@ -210,10 +201,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: store_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.store_sales;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.store_sales;
^
DROP TABLE IF EXISTS cte_bug.store_sales;
CREATE TABLE cte_bug.store_sales (
ss_sold_date_sk integer,
ss_sold_time_sk integer,
Expand Down Expand Up @@ -266,10 +254,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: web_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.web_sales;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.web_sales;
^
DROP TABLE IF EXISTS cte_bug.web_sales;
CREATE TABLE cte_bug.web_sales (
ws_sold_date_sk integer,
ws_sold_time_sk integer,
Expand Down
25 changes: 5 additions & 20 deletions src/test/regress/expected/tpcds_q04_optimizer.out
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ SET default_table_access_method = ao_column;
--
-- Name: catalog_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.catalog_sales;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.catalog_sales;
^
DROP TABLE IF EXISTS cte_bug.catalog_sales;
CREATE TABLE cte_bug.catalog_sales (
cs_sold_date_sk integer,
cs_sold_time_sk integer,
Expand Down Expand Up @@ -98,10 +95,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: customer; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.customer;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.customer;
^
DROP TABLE IF EXISTS cte_bug.customer;
CREATE TABLE cte_bug.customer (
c_customer_sk integer NOT NULL,
c_customer_id character varying(16) NOT NULL,
Expand Down Expand Up @@ -144,10 +138,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: date_dim; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.date_dim;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.date_dim;
^
DROP TABLE IF EXISTS cte_bug.date_dim;
CREATE TABLE cte_bug.date_dim (
d_date_sk integer NOT NULL,
d_date_id character varying(16) NOT NULL,
Expand Down Expand Up @@ -210,10 +201,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: store_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.store_sales;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.store_sales;
^
DROP TABLE IF EXISTS cte_bug.store_sales;
CREATE TABLE cte_bug.store_sales (
ss_sold_date_sk integer,
ss_sold_time_sk integer,
Expand Down Expand Up @@ -266,10 +254,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: web_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.web_sales;
ERROR: syntax error at or near "EXITS"
LINE 1: DROP TABLE IF EXITS cte_bug.web_sales;
^
DROP TABLE IF EXISTS cte_bug.web_sales;
CREATE TABLE cte_bug.web_sales (
ws_sold_date_sk integer,
ws_sold_time_sk integer,
Expand Down
10 changes: 5 additions & 5 deletions src/test/regress/sql/tpcds_q04.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SET default_table_access_method = ao_column;
--
-- Name: catalog_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.catalog_sales;
DROP TABLE IF EXISTS cte_bug.catalog_sales;

CREATE TABLE cte_bug.catalog_sales (
cs_sold_date_sk integer,
Expand Down Expand Up @@ -98,7 +98,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
-- Name: customer; Type: TABLE; Schema: cte_bug; Owner: -
--

DROP TABLE IF EXITS cte_bug.customer;
DROP TABLE IF EXISTS cte_bug.customer;

CREATE TABLE cte_bug.customer (
c_customer_sk integer NOT NULL,
Expand Down Expand Up @@ -144,7 +144,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: date_dim; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.date_dim;
DROP TABLE IF EXISTS cte_bug.date_dim;

CREATE TABLE cte_bug.date_dim (
d_date_sk integer NOT NULL,
Expand Down Expand Up @@ -210,7 +210,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: store_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.store_sales;
DROP TABLE IF EXISTS cte_bug.store_sales;

CREATE TABLE cte_bug.store_sales (
ss_sold_date_sk integer,
Expand Down Expand Up @@ -266,7 +266,7 @@ WITH (appendonly = true, orientation = column, compresstype=zstd, compresslevel=
--
-- Name: web_sales; Type: TABLE; Schema: cte_bug; Owner: -
--
DROP TABLE IF EXITS cte_bug.web_sales;
DROP TABLE IF EXISTS cte_bug.web_sales;

CREATE TABLE cte_bug.web_sales (
ws_sold_date_sk integer,
Expand Down
Loading