system sh/stop_dnodes.sh system sh/deploy.sh -n dnode1 -i 1 print ========= start dnode1 as LEADER system sh/exec.sh -n dnode1 -s start sql connect print ======== drop column in normal table sql drop database if exists db1; sql create database db1; sql use db1; sql create table t1 (ts timestamp, f1 int, f2 int); sql insert into t1 values (1591060628000, 1, 2); sql alter table t1 drop column f2; sql insert into t1 values (1591060628001, 2); print ======== add column in normal table sql drop database db1; sql create database db1; sql use db1; sql create table t1 (ts timestamp, f1 int); sql insert into t1 values (1591060628000, 1); sql alter table t1 add column f2 int; sql insert into t1 values (1591060628001, 2, 2); print ======== drop column in super table sql drop database db1; sql create database db1; sql use db1; sql create stable st1 (ts timestamp, f1 int, f2 int) tags (t1 int); sql create table t1 using st1 tags(1); sql insert into t1 values (1591060628000, 1, 2); sql alter table st1 drop column f2; sql insert into t1 values (1591060628001, 2); print ======== add column in super table sql drop database db1; sql create database db1; sql use db1; sql create stable st1 (ts timestamp, f1 int) tags (t1 int); sql create table t1 using st1 tags(1); sql insert into t1 values (1591060628000, 1); sql alter table st1 add column f2 int; sql insert into t1 values (1591060628001, 2, 2); print ======== add tag in super table sql drop database db1; sql create database db1; sql use db1; sql create stable st1 (ts timestamp, f1 int) tags (t1 int); sql create table t1 using st1 tags(1); sql insert into t1 values (1591060628000, 1); sql alter table st1 add tag t2 int; sql create table t2 using st1 tags(2, 2); print ======== drop tag in super table sql drop database db1; sql create database db1; sql use db1; sql create stable st1 (ts timestamp, f1 int) tags (t1 int, t2 int); sql create table t1 using st1 tags(1, 1); sql insert into t1 values (1591060628000, 1); sql alter table st1 drop tag t2; sql create table t2 using st1 tags(2); system sh/exec.sh -n dnode1 -s stop -x SIGINT