Data Engineer
PostgreSQL-də SELECT * FROM [cədvəl] sorğusunu icra etdikdən sonra nə baş verir?
JOIN növləri və onların fərqləri
# nə çıxarır s = 'Abracadabra' print(s[5][0]) b = 'a' b[0] print(s[::2]) s = [1, 2, 3] print(s * 2)
Python-da kontekst menecerindən istifadə edərək faylları düzgün şəkildə necə açıb bağlamaq olar?
ClickHouse-də Distributed mühərrikin hansı parametrləri ilə tanışsınız?
Kodda normal (gözlənilən) paylanmadan əhəmiyyətli dərəcədə fərqlənən dəyəri necə təsvir edərdin?
Greenplum ilə işləyərkən hansı problemlərlə üzləşdiniz?
Python-da siyahı anlayışı ilə adi döngü arasındakı fərq nədir?
Ənənəvi olaraq, pipeline-lərdə səhvlər və xəbərdarlıqları necə idarə edirdiniz?
# nə çıxarır s = 'abracadabra' print(s[5][0][0][0]) print(s[::-2]) s = [1, 2, 3] print(s * 2)
Əgər düzgün olmayan məlumatlar vitrinə və ya müvəqqəti cədvələ yüklənibsə, onları yuxarı pipeline-lərə necə daxil olmamaq olar?
ETL və ELT zamanı saxlama üçün hesablama gücü tələbləri necə fərqlənir?
2021 və 2022 illəri üçün "tələb olunan kateqoriyaya aid məhsullar" və "sifarişdə olan sifarişlərin sayı" göstərin (son görünüş: 2 sətir. Sahələr: il, məhsulların sayı, sifarişlərin sayı) with cte as( select year(o.order_date) as year_orders, g.cat_1, count(distinct o.order_id) as count_orders, sum(g.quantity) as count_quan from Orders o join Goods g on o.order_id = g.order_id where (g.cat_1 = 'Geyim' and Year(o.order_date) = 2021) or (g.cat_1 = 'Ayaqqabı' and Year(o.order_date) = 2022) group by year_orders, g.cat_1 ) select year_orders, count_quan, count_orders from cte 2025-ci il üçün, hər kateqoriya üzrə ən çox satılan model 3 with cte as( select cat_1, price, quantity, model, rank() over(partition by cat_1) as rk from Orders o join Goods g on o.order_id = g.order_id where Year(o.order_date) = 2025 ) 2025-ci il üçün, hər kateqoriya üzrə ən çox satılan model 3 with cte as( select g.cat_1, g.model, (price * quantity), rank() over(partition by g.cat_1) as rk from Orders o join Goods g on o.order_id = g.order_id where Year(o.order_date) = 2025 ) with cte as( select g.cat_1, g.model, sum(price * quantity) as sum_, rank() over(partition by g.cat_1 order by sum() desc) as rk from Orders o join Goods g on o.order_id = g.order_id where Year(o.order_date) = 2025 ) with cte1 as( select g.cat_1, g.model, sum(price * quantity) as sum_total, from Orders o join Goods g on o.order_id = g.order_id where Year(o.order_date) = 2025 ), cte2 as(select g.cat_1, g.model, sum_total, rank() over(partition by g.cat_1 order sum_total desc) as rk from cte1 ) select g.cat_1, g.model, sum_total from cte2 where rk <=3 kategori adı, model və ümumi satışlar (ən yaxşı 3) with cte1 as( select g.cat_1 as cat_name, g.model as model, sum(price * quantity) as sum_total, from Orders o join Goods g on o.order_id = g.order_id where Year(o.order_date) = 2025 group by Year(o.order_date), g.model ), cte2 as(select cat_name, model, sum_total, rank() over(partition by cat_name order sum_total desc) as rk from cte1 ) select cat_name, model, sum_total from cte2 where rk <=3
Python-da dekoratorlar nədir?
Apache Spark-də RDD nədir və digər Spark abstraksiyalarından necə fərqlənir?