GlareDB / glaredb

GlareDB: An analytics DBMS for distributed data
https://glaredb.com
GNU Affero General Public License v3.0
535 stars 35 forks source link

issue notice when skipping tables due to exist clauses #2923

Open greyscaled opened 3 weeks ago

greyscaled commented 3 weeks ago

Minor issue with respect to output not indicating if a relation was skipped or actually created.

Postgres:

postgres=> create table if not exists test_table (a int);
NOTICE:  relation "test_table" already exists, skipping
CREATE TABLE

postgres=> drop table if exists test_table;;
NOTICE:  table "test_table" does not exist, skipping
DROP TABLE

GlareDB:

> create table if not exists hello (a text);
Table created

> drop table if exists hello;
Table(s) dropped