Skip to content

THPT/DailyProcess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Daily process

mvn clean && mvn compile && mvn package && spark-submit --class process.Process target/HourlyProcess-0.0.1.jar

Init tables:

CREATE TABLE device_usages (
	id serial PRIMARY KEY NOT NULL,
	device_family text,
	created_at timestamp WITH time ZONE,
	time_usage bigint
)
CREATE TABLE device_sellings (
	id serial PRIMARY KEY NOT NULL,
	device_family text,
	product_id text,
	created_at timestamp WITH time ZONE,
	amount bigint
);
CREATE TABLE video_sellings (
	id serial PRIMARY KEY NOT NULL,
	video_id text,
	amount BIGINT,
	created_at timestamp WITH time ZONE
);
CREATE TABLE referrer_sellings (
	id serial PRIMARY KEY NOT NULL,
	referrer text,
	product_id text,
	amount bigint,
	created_at timestamp WITH time ZONE
);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages