Resources
Legal
Prepare for interviews with a database of questions from real interviews.
Showing 521–540 of 1,091
How are your dbt models structured and how do you assemble a data mart from multiple sources through Trino?
Have you ever worked with the AQE (Adaptive Query Execution) optimizer in Spark? Do you know how it works?
How do you monitor data quality?
How do you determine that a record already exists and does not need to be recorded again?
# what does it output s = 'Abracadabra' print(s[5][0]) b = 'a' b[0] print(s[::2]) s = [1, 2, 3] print(s * 2)
Propose a solution for the task of regular incremental loading of a large table with flexible (changeable) update frequency from Postgres to Data Lake.
Are you currently attending interviews? Do you have offers or are you in final stages, especially in banks?
What Docker images have you had to build, and why?
How does the broadcast mechanism physically work — how do partitions of a small table get to executors with a large table?
For each row in the salaries table, output the employee's name, date, salary, and using a window function, add a column "average salary by department on this date".
How does Greenplum differ from PostgreSQL?
CREATE TABLE raw.local_transactions ON CLUSTER cluster_4x2 ( transaction_id String, user_id String, amount Float64, created_at DateTime ) ENGINE = ReplicatedMergeTree() PARTITION BY amount ORDER BY (transaction_id); CREATE TABLE raw.transactions ON CLUSTER cluster_4x2 ( transaction_id String, user_id String, amount Float64, created_at DateTime ) ENGINE = Distributed('cluster_4x2', 'raw', 'local_transactions', cityHash64(user_id));
-- t1 -- num --------- -- 1 -- 2 2 null null 4 -- t2 -- num --------- -- [phone] null null 5 SELECT a.num AS a_num, b.num AS b_num FROM t1 a LEFT JOIN t2 b ON a.num = b.num;
How did you work with 1C: did you retrieve data directly from the database, through a bus, or by another method?
Are there any other shuffle management mechanisms besides coalesce/repartition?
How to write JSON to a folder (in the context of Airflow DAG)?
Describe the process of archiving data from Oracle to Parquet (HDFS) by partitions and the reverse data recovery pipeline. How to solve the problem of re-archiving restored data?
What architecture did you have on the project? DWH or something else?
You have two related tables: first_table and second_table. You want to execute the command TRUNCATE TABLE second_table CASCADE; to delete all rows from second_table and all dependent data. What consequences might this command have? create table first_table ( id integer primary key ); create table second_table ( id serial primary key, first_table_fk integer references first_table(id) ); - The second_table_id_seq sequence will be reset to its initial value. - All records from first_table that are related through a foreign key to second_table will be deleted. - Existing indexes for second_table will be dropped and automatically recreated. - When inserting into second_table afterwards, the default value for id may start from an incorrect value. - An error will occur because the CASCADE command is forbidden for tables with foreign keys.
What is the difference between partitioning and sharding?