From 92b904a304ae61b6e80f9fdf36175bc697132594 Mon Sep 17 00:00:00 2001 From: DuyHai DOAN Date: Sun, 24 May 2015 21:36:38 +0200 Subject: [PATCH] Add schema for US unemployment demo --- src/main/data/countries_1.csv | 0 src/main/data/us_unemployment.cql | 14 ++++++++++++++ 2 files changed, 14 insertions(+) delete mode 100644 src/main/data/countries_1.csv create mode 100644 src/main/data/us_unemployment.cql diff --git a/src/main/data/countries_1.csv b/src/main/data/countries_1.csv deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/data/us_unemployment.cql b/src/main/data/us_unemployment.cql new file mode 100644 index 0000000..8ba07ec --- /dev/null +++ b/src/main/data/us_unemployment.cql @@ -0,0 +1,14 @@ +CREATE TABLE IF NOT EXISTS spark_demo.us_unemployment_stats ( + year int PRIMARY KEY, + agriculture_part_count int, + civil_labor_count int, + civil_non_institutional_count int, + employed_count int, + employed_percentage double, + footnotes text, + labor_population_percentage double, + non_agriculture_part_count int, + not_labor_count int, + unemployed_count int, + unemployed_percentage_to_labor double +);