Introducere în Databricks Lakehouse
Gang Wang
Senior Data Scientist
$$

$$
$$

$$
-- Create a connection
CREATE CONNECTION partner_pg
TYPE postgresql
OPTIONS (
host 'db.partner.com',
port '5432',
user 'reader',
password secret('scope', 'key')
);
$$
-- Create a foreign catalog
CREATE FOREIGN CATALOG partner_db
USING CONNECTION partner_pg;
-- Query the external table
SELECT *
FROM partner_db.public.orders
LIMIT 10;
$$
| Federare | Ingestie | |
|---|---|---|
| Acces | În timp real | Copie batch |
| Volum interogări | Mic | Mare |
| Latență | Depinde de sursă | Mică |
| Conformitate | Fără copii | Date mutate |
| Transformări | Limitate | Medallion complet |
$$
$$
$$

$$
Introducere în Databricks Lakehouse