Skip to content

Commit

Permalink
reverted change in init.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
KushnirykOleh committed Jan 16, 2025
1 parent ba0f5b1 commit bfb9e90
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ CREATE DATABASE IF NOT EXISTS main.oleh;
USE CATALOG main;
USE SCHEMA oleh;

DROP TABLE IF EXISTS main.oleh.authors;
DROP TABLE IF EXISTS main.liquibase_harness_test_ds.authors;

CREATE TABLE main.oleh.authors (
CREATE TABLE main.liquibase_harness_test_ds.authors (
`id` BIGINT NOT NULL GENERATED BY DEFAULT AS IDENTITY(start with 1 increment by 1),
`first_name` varchar(50) NOT NULL,
`last_name` varchar(50) NOT NULL,
Expand All @@ -19,16 +19,16 @@ CREATE TABLE main.oleh.authors (
)
USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'delta.columnMapping.mode' = 'name');

INSERT INTO main.oleh.authors (id, first_name, last_name, email, birthdate, added)
INSERT INTO main.liquibase_harness_test_ds.authors (id, first_name, last_name, email, birthdate, added)
VALUES ('1','Eileen','Lubowitz','ppaucek@example.org','1991-03-04', '2000-02-04 02:32:00.0'),
('2','Tamia','Mayert','shansen@example.org','2016-03-27', '2014-03-21 02:52:00.0'),
('3','Cyril','Funk','reynolds.godfrey@example.com','1988-04-21', '2011-06-24 18:17:48.0'),
('4','Nicolas','Buckridge','xhoeger@example.net','2017-02-03', '2019-04-22 02:04:41.0'),
('5','Jayden','Walter','lillian66@example.com','2010-02-27', '1990-02-04 02:32:00.0');

DROP TABLE IF EXISTS main.oleh.authors_clustered;
DROP TABLE IF EXISTS main.liquibase_harness_test_ds.authors_clustered;

CREATE TABLE main.oleh.authors_clustered (
CREATE TABLE main.liquibase_harness_test_ds.authors_clustered (
`id` BIGINT NOT NULL GENERATED BY DEFAULT AS IDENTITY(start with 1 increment by 1),
`first_name` varchar(50) NOT NULL,
`last_name` varchar(50) NOT NULL,
Expand All @@ -41,9 +41,9 @@ USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'de
CLUSTER BY (`id`)
;

DROP TABLE IF EXISTS main.oleh.posts;
DROP TABLE IF EXISTS main.liquibase_harness_test_ds.posts;

CREATE TABLE main.oleh.posts (
CREATE TABLE main.liquibase_harness_test_ds.posts (
`id` BIGINT NOT NULL GENERATED BY DEFAULT AS IDENTITY(start with 1 increment by 1),
`author_id` BIGINT NOT NULL,
`title` varchar(255) NOT NULL,
Expand All @@ -53,7 +53,7 @@ CREATE TABLE main.oleh.posts (
)
USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'delta.columnMapping.mode' = 'name');

INSERT INTO main.oleh.posts (id, author_id, title, description, content, inserted_date)
INSERT INTO main.liquibase_harness_test_ds.posts (id, author_id, title, description, content, inserted_date)
VALUES ('1','1','temporibus','voluptatum','Fugit non et doloribus repudiandae.','2015-11-18'),
('2','2','ea','aut','Tempora molestias maiores provident molestiae sint possimus quasi.','1975-06-08'),
('3','3','illum','rerum','Delectus recusandae sit officiis dolor.','1975-02-25'),
Expand Down

0 comments on commit bfb9e90

Please sign in to comment.