Introduction à 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;
$$
| Fédérer | Ingestion | |
|---|---|---|
| Accès | Temps réel | Copie par lot |
| Volume des requêtes | Faible | Élevé |
| Latence | Selon la source | Faible |
| Conformité | Aucune copie requise | Déplacement des données |
| Transformations | Limitées | Chaîne medallion complète |
$$
$$
$$

$$
Introduction à Databricks Lakehouse