Sync portfolio laboratory source
This commit is contained in:
commit
24ddb06c6e
12 changed files with 246 additions and 0 deletions
5
sql/03-stage.sql
Normal file
5
sql/03-stage.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
-- Одна исходная запись на пару (batch_id, orderkey). Демонстрация корректировки и возврата.
|
||||
CREATE TABLE IF NOT EXISTS iceberg.tpch_raw.order_events AS
|
||||
SELECT CAST(0 AS bigint) AS batch_id, orderkey, orderdate, orderstatus,
|
||||
cast(totalprice AS decimal(15, 2)) AS totalprice
|
||||
FROM iceberg.tpch_raw.orders;
|
||||
Loading…
Add table
Add a link
Reference in a new issue