text: // Drop old keyspace if exists
  DROP KEYSPACE IF EXISTS dolezjo3;
  
  // For class purpose, I have decided to use replication factor with value 1,
  // in production strategy, I would use bigger value
  CREATE KEYSPACE dolezjo3 WITH replication = {'class':'SimpleStrategy','replication_factor':1};
  
  // Set created keyspace as current keyspace
  USE dolezjo3;
  
  // Create keyspace structure
  
  CREATE TABLE orders (
    id int PRIMARY KEY,
    code text,
    buyer_id text,
    created_at text,
    payed_at text,
    buyer_ip text
   );
  
  CREATE TABLE order_items (
    id int PRIMARY KEY,
    order_id int,
    goods_id int,
    goods_number double,
    shop_price double,
    goods_price double,
    goods_amount double
  );
  
  CREATE TABLE order_returns (
    id int PRIMARY KEY,
    return_date text,
    order_id int
  );
  
  // Insert data
  
  COPY orders (id, code, buyer_id, created_at, payed_at, buyer_ip) FROM '/var/data_src/src/OS_ORDER.csv';
  COPY order_items (id, order_id, goods_id, goods_number, shop_price, goods_price, goods_amount) FROM '/var/data_src/src/OS_ORDER_ITEMS.csv';
  COPY order_returns (id, return_date, order_id) FROM '/var/data_src/src/OS_ORDER_RETURNS.csv';
  