finally
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
pyspark_env/
|
||||
BIN
data/clickhouse/courses/._SUCCESS.crc
Normal file
BIN
data/clickhouse/courses/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/clickhouse/courses/_SUCCESS
Normal file
0
data/clickhouse/courses/_SUCCESS
Normal file
@@ -0,0 +1,4 @@
|
||||
id,title,category,created_at
|
||||
2.000000000000000000,Python для анализа данных,programming,2023-01-15
|
||||
1.000000000000000000,SQL для начинающих,data,2023-01-01
|
||||
3.000000000000000000,BI с нуля,business,2023-03-01
|
||||
|
BIN
data/clickhouse/enrollments/._SUCCESS.crc
Normal file
BIN
data/clickhouse/enrollments/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/clickhouse/enrollments/_SUCCESS
Normal file
0
data/clickhouse/enrollments/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
id,user_id,course_id,enrolled_at
|
||||
2.000000000000000000,1,2,2023-02-01
|
||||
5.000000000000000000,4,3,2023-04-01
|
||||
1.000000000000000000,1,1,2023-01-15
|
||||
3.000000000000000000,2,1,2023-01-20
|
||||
4.000000000000000000,3,2,2023-03-05
|
||||
|
BIN
data/clickhouse/lesson_views/._SUCCESS.crc
Normal file
BIN
data/clickhouse/lesson_views/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/clickhouse/lesson_views/_SUCCESS
Normal file
0
data/clickhouse/lesson_views/_SUCCESS
Normal file
@@ -0,0 +1,7 @@
|
||||
id,user_id,lesson_id,viewed_at
|
||||
5.000000000000000000,4,4,2023-04-02T10:00:00.000+03:00
|
||||
6.000000000000000000,4,5,2023-04-03T10:00:00.000+03:00
|
||||
4.000000000000000000,3,3,2023-03-06T12:00:00.000+03:00
|
||||
1.000000000000000000,1,1,2023-01-16T10:00:00.000+03:00
|
||||
2.000000000000000000,1,2,2023-01-16T10:15:00.000+03:00
|
||||
3.000000000000000000,2,1,2023-01-21T09:00:00.000+03:00
|
||||
|
BIN
data/clickhouse/lessons/._SUCCESS.crc
Normal file
BIN
data/clickhouse/lessons/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/clickhouse/lessons/_SUCCESS
Normal file
0
data/clickhouse/lessons/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
id,course_id,title,duration_min
|
||||
5.000000000000000000,3,Метрики и дашборды,18
|
||||
2.000000000000000000,1,JOIN,15
|
||||
4.000000000000000000,3,Основы BI,12
|
||||
1.000000000000000000,1,SELECT и FROM,10
|
||||
3.000000000000000000,2,Pandas,20
|
||||
|
BIN
data/clickhouse/users/._SUCCESS.crc
Normal file
BIN
data/clickhouse/users/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/clickhouse/users/_SUCCESS
Normal file
0
data/clickhouse/users/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
id,name,age,email,registration_date
|
||||
4.000000000000000000,Diana,28,diana@mail.com,2023-03-01
|
||||
3.000000000000000000,Charlie,22,charlie@mail.com,2023-02-20
|
||||
2.000000000000000000,Bob,30,bob@gmail.com,2023-02-05
|
||||
5.000000000000000000,Ethan,35,ethan@gmail.com,2023-03-10
|
||||
1.000000000000000000,Alice,25,alice@mail.com,2023-01-10
|
||||
|
BIN
data/greenplum/dim_course/._SUCCESS.crc
Normal file
BIN
data/greenplum/dim_course/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/greenplum/dim_course/_SUCCESS
Normal file
0
data/greenplum/dim_course/_SUCCESS
Normal file
@@ -0,0 +1,4 @@
|
||||
course_id,title,category
|
||||
2,Python для анализа данных,programming
|
||||
3,BI с нуля,business
|
||||
1,SQL для начинающих,data
|
||||
|
BIN
data/greenplum/dim_lesson/._SUCCESS.crc
Normal file
BIN
data/greenplum/dim_lesson/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/greenplum/dim_lesson/_SUCCESS
Normal file
0
data/greenplum/dim_lesson/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
lesson_id,title,duration_min,course_id
|
||||
5,Метрики и дашборды,18,3
|
||||
1,SELECT и FROM,10,1
|
||||
3,Pandas,20,2
|
||||
4,Основы BI,12,3
|
||||
2,JOIN,15,1
|
||||
|
BIN
data/greenplum/dim_user/._SUCCESS.crc
Normal file
BIN
data/greenplum/dim_user/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/greenplum/dim_user/_SUCCESS
Normal file
0
data/greenplum/dim_user/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
user_id,name,age,email,registration_date
|
||||
1,Alice,25,alice@mail.com,2023-01-10
|
||||
5,Ethan,35,ethan@gmail.com,2023-03-10
|
||||
2,Bob,30,bob@gmail.com,2023-02-05
|
||||
3,Charlie,22,charlie@mail.com,2023-02-20
|
||||
4,Diana,28,diana@mail.com,2023-03-01
|
||||
|
BIN
data/greenplum/fact_enrollments/._SUCCESS.crc
Normal file
BIN
data/greenplum/fact_enrollments/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/greenplum/fact_enrollments/_SUCCESS
Normal file
0
data/greenplum/fact_enrollments/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
user_id,course_id,enrolled_at
|
||||
1,2,2023-02-01T00:00:00.000+03:00
|
||||
1,1,2023-01-15T00:00:00.000+03:00
|
||||
4,3,2023-04-01T00:00:00.000+03:00
|
||||
2,1,2023-01-20T00:00:00.000+03:00
|
||||
3,2,2023-03-05T00:00:00.000+03:00
|
||||
|
BIN
data/greenplum/fact_lesson_views/._SUCCESS.crc
Normal file
BIN
data/greenplum/fact_lesson_views/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/greenplum/fact_lesson_views/_SUCCESS
Normal file
0
data/greenplum/fact_lesson_views/_SUCCESS
Normal file
@@ -0,0 +1,7 @@
|
||||
user_id,lesson_id,course_id,viewed_at
|
||||
1,2,1,2023-01-16T10:15:00.000+03:00
|
||||
1,1,1,2023-01-16T10:00:00.000+03:00
|
||||
4,4,3,2023-04-02T10:00:00.000+03:00
|
||||
3,3,2,2023-03-06T12:00:00.000+03:00
|
||||
2,1,1,2023-01-21T09:00:00.000+03:00
|
||||
4,5,3,2023-04-03T10:00:00.000+03:00
|
||||
|
BIN
data/marts/clickhouse/course_completion_rate/._SUCCESS.crc
Normal file
BIN
data/marts/clickhouse/course_completion_rate/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
user_id,user_name,course_id,course_title,lessons_in_course,lessons_viewed,completion_rate
|
||||
1,Alice,1,SQL для начинающих,2,2,1.0
|
||||
1,Alice,2,Python для анализа данных,1,0,0.0
|
||||
2,Bob,1,SQL для начинающих,2,1,0.5
|
||||
3,Charlie,2,Python для анализа данных,1,1,1.0
|
||||
4,Diana,3,BI с нуля,2,2,1.0
|
||||
|
BIN
data/marts/clickhouse/inactive_users_summary/._SUCCESS.crc
Normal file
BIN
data/marts/clickhouse/inactive_users_summary/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
user_id,user_name,user_email,user_age,user_registration_date,enrollments_count
|
||||
5,Ethan,ethan@gmail.com,35,2023-03-10,0
|
||||
|
BIN
data/marts/clickhouse/lesson_popularity_summary/._SUCCESS.crc
Normal file
BIN
data/marts/clickhouse/lesson_popularity_summary/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
lesson_id,lesson_title,course_id,course_title,total_views,unique_users,first_view,last_view
|
||||
1,SELECT и FROM,1,SQL для начинающих,2,2,2023-01-16T10:00:00.000+03:00,2023-01-21T09:00:00.000+03:00
|
||||
2,JOIN,1,SQL для начинающих,1,1,2023-01-16T10:15:00.000+03:00,2023-01-16T10:15:00.000+03:00
|
||||
3,Pandas,2,Python для анализа данных,1,1,2023-03-06T12:00:00.000+03:00,2023-03-06T12:00:00.000+03:00
|
||||
4,Основы BI,3,BI с нуля,1,1,2023-04-02T10:00:00.000+03:00,2023-04-02T10:00:00.000+03:00
|
||||
5,Метрики и дашборды,3,BI с нуля,1,1,2023-04-03T10:00:00.000+03:00,2023-04-03T10:00:00.000+03:00
|
||||
|
BIN
data/marts/greenplum/course_completion_rate/._SUCCESS.crc
Normal file
BIN
data/marts/greenplum/course_completion_rate/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
user_id,user_name,course_id,course_title,lessons_in_course,lessons_viewed,completion_rate
|
||||
1,Alice,1,SQL для начинающих,2,2,1.0
|
||||
1,Alice,2,Python для анализа данных,1,0,0.0
|
||||
2,Bob,1,SQL для начинающих,2,1,0.5
|
||||
3,Charlie,2,Python для анализа данных,1,1,1.0
|
||||
4,Diana,3,BI с нуля,2,2,1.0
|
||||
|
BIN
data/marts/greenplum/inactive_users_summary/._SUCCESS.crc
Normal file
BIN
data/marts/greenplum/inactive_users_summary/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
user_id,user_name,email,age,registration_date,enrollments_count
|
||||
5,Ethan,ethan@gmail.com,35,2023-03-10,0
|
||||
|
BIN
data/marts/greenplum/lesson_popularity_summary/._SUCCESS.crc
Normal file
BIN
data/marts/greenplum/lesson_popularity_summary/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
lesson_id,lesson_title,course_id,course_title,total_views,unique_users,first_view,last_view
|
||||
1,SELECT и FROM,1,SQL для начинающих,2,2,2023-01-16T10:00:00.000+03:00,2023-01-21T09:00:00.000+03:00
|
||||
2,JOIN,1,SQL для начинающих,1,1,2023-01-16T10:15:00.000+03:00,2023-01-16T10:15:00.000+03:00
|
||||
3,Pandas,2,Python для анализа данных,1,1,2023-03-06T12:00:00.000+03:00,2023-03-06T12:00:00.000+03:00
|
||||
4,Основы BI,3,BI с нуля,1,1,2023-04-02T10:00:00.000+03:00,2023-04-02T10:00:00.000+03:00
|
||||
5,Метрики и дашборды,3,BI с нуля,1,1,2023-04-03T10:00:00.000+03:00,2023-04-03T10:00:00.000+03:00
|
||||
|
BIN
data/marts/postgresql/course_summary/._SUCCESS.crc
Normal file
BIN
data/marts/postgresql/course_summary/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/marts/postgresql/course_summary/_SUCCESS
Normal file
0
data/marts/postgresql/course_summary/_SUCCESS
Normal file
@@ -0,0 +1,4 @@
|
||||
course_id,course_title,total_views,unique_users,lessons_count,avg_views_per_user,first_viewed_at,last_viewed_at
|
||||
1,SQL для начинающих,3,2,2,1.5,2023-01-16T10:00:00.000+03:00,2023-01-21T09:00:00.000+03:00
|
||||
2,Python для анализа данных,1,2,1,0.5,2023-03-06T12:00:00.000+03:00,2023-03-06T12:00:00.000+03:00
|
||||
3,BI с нуля,2,1,2,2.0,2023-04-02T10:00:00.000+03:00,2023-04-03T10:00:00.000+03:00
|
||||
|
BIN
data/marts/postgresql/platform_summary/._SUCCESS.crc
Normal file
BIN
data/marts/postgresql/platform_summary/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/marts/postgresql/platform_summary/_SUCCESS
Normal file
0
data/marts/postgresql/platform_summary/_SUCCESS
Normal file
@@ -0,0 +1,2 @@
|
||||
total_users,total_courses,total_lessons,users_with_views,avg_lessons_per_course,avg_views_per_lesson
|
||||
5,3,5,4,1.67,2.6
|
||||
|
BIN
data/marts/postgresql/user_activity_summary/._SUCCESS.crc
Normal file
BIN
data/marts/postgresql/user_activity_summary/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
user_id,name,enrollment_count,viewed_lessons_count,last_view,first_view,engagement_rate
|
||||
2,Bob,1,1,2023-01-21T09:00:00.000+03:00,2023-01-21T09:00:00.000+03:00,50.0%
|
||||
1,Alice,2,2,2023-01-16T10:15:00.000+03:00,2023-01-16T10:00:00.000+03:00,66.67%
|
||||
3,Charlie,1,1,2023-03-06T12:00:00.000+03:00,2023-03-06T12:00:00.000+03:00,100.0%
|
||||
4,Diana,1,2,2023-04-03T10:00:00.000+03:00,2023-04-02T10:00:00.000+03:00,100.0%
|
||||
|
BIN
data/postgresql/courses/._SUCCESS.crc
Normal file
BIN
data/postgresql/courses/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/postgresql/courses/_SUCCESS
Normal file
0
data/postgresql/courses/_SUCCESS
Normal file
@@ -0,0 +1,4 @@
|
||||
id,title,category,created_at
|
||||
1,SQL для начинающих,data,2023-01-01
|
||||
2,Python для анализа данных,programming,2023-01-15
|
||||
3,BI с нуля,business,2023-03-01
|
||||
|
BIN
data/postgresql/enrollments/._SUCCESS.crc
Normal file
BIN
data/postgresql/enrollments/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/postgresql/enrollments/_SUCCESS
Normal file
0
data/postgresql/enrollments/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
id,user_id,course_id,enrolled_at
|
||||
1,1,1,2023-01-15
|
||||
2,1,2,2023-02-01
|
||||
3,2,1,2023-01-20
|
||||
4,3,2,2023-03-05
|
||||
5,4,3,2023-04-01
|
||||
|
BIN
data/postgresql/lesson_views/._SUCCESS.crc
Normal file
BIN
data/postgresql/lesson_views/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/postgresql/lesson_views/_SUCCESS
Normal file
0
data/postgresql/lesson_views/_SUCCESS
Normal file
@@ -0,0 +1,7 @@
|
||||
id,user_id,lesson_id,viewed_at
|
||||
1,1,1,2023-01-16T10:00:00.000+03:00
|
||||
2,1,2,2023-01-16T10:15:00.000+03:00
|
||||
3,2,1,2023-01-21T09:00:00.000+03:00
|
||||
4,3,3,2023-03-06T12:00:00.000+03:00
|
||||
5,4,4,2023-04-02T10:00:00.000+03:00
|
||||
6,4,5,2023-04-03T10:00:00.000+03:00
|
||||
|
BIN
data/postgresql/lessons/._SUCCESS.crc
Normal file
BIN
data/postgresql/lessons/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/postgresql/lessons/_SUCCESS
Normal file
0
data/postgresql/lessons/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
id,course_id,title,duration_min
|
||||
1,1,SELECT и FROM,10
|
||||
2,1,JOIN,15
|
||||
3,2,Pandas,20
|
||||
4,3,Основы BI,12
|
||||
5,3,Метрики и дашборды,18
|
||||
|
BIN
data/postgresql/users/._SUCCESS.crc
Normal file
BIN
data/postgresql/users/._SUCCESS.crc
Normal file
Binary file not shown.
Binary file not shown.
0
data/postgresql/users/_SUCCESS
Normal file
0
data/postgresql/users/_SUCCESS
Normal file
@@ -0,0 +1,6 @@
|
||||
id,name,age,email,registration_date
|
||||
1,Alice,25,alice@mail.com,2023-01-10
|
||||
2,Bob,30,bob@gmail.com,2023-02-05
|
||||
3,Charlie,22,charlie@mail.com,2023-02-20
|
||||
4,Diana,28,diana@mail.com,2023-03-01
|
||||
5,Ethan,35,ethan@gmail.com,2023-03-10
|
||||
|
BIN
jars/clickhouse-jdbc-0.3.2-shaded.jar
Normal file
BIN
jars/clickhouse-jdbc-0.3.2-shaded.jar
Normal file
Binary file not shown.
BIN
jars/postgresql-42.6.0.jar
Normal file
BIN
jars/postgresql-42.6.0.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user