Files
spark/src/data_files/files/spartan/sim_db.sql
T

29 lines
470 B
SQL

drop table if exists session;
CREATE TABLE session(
session_id integer primary key,
date text,
algo text,
title text
);
drop table if exists run;
create table run(
run_id integer primary key,
session_id numeric,
start_time text,
end_time text,
file text,
channel text,
data_date text,
realized_pandl float,
position_pandl float
);
drop table if exists run_param;
create table run_param(
run_id numeric,
param text,
param_value text
);