ISISNeutronMuon / ISISNeutronMuon/analytics-data-platform

Track release of dbt v2

Aperta
#369 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
0
Fork
0
Merge medio
2g 7h
PR unite (30g)
21

Descrizione

At the time of writing dbt has an alpha version of `dbt v2`. It has a core rewritten in rust and is the future direction of travel for the project: https://docs.getdbt.com/blog/dbt-core-v2-is-here?version=2.0&name=Fusion.

A quick test locally of the pre-release version shows some issues:

`dbt deps`:

```bash
dbt-fusion 2.0.0-preview.192
Finished [ 0.13s] resolving packages from packages.yml (3 items)
Installed starburstdata/trino_utils: 0.6.0
Installed dbt-labs/codegen: 0.14.0
Installed dbt-labs/dbt_utils: 1.3.3
Installed 3 packages
Updated version available for codegen@0.14.0: 0.14.1
Updated version available for dbt_utils@1.3.3: 1.4.0

============================= Errors and Warnings ==============================
[warning] [PackageVersionMismatch (dbt1080)]: Package 'trino_utils' may not be compatible with your dbt version: Required dbt version does not match current version. Check Package Hub (https://hub.getdbt.com) for compatible versions or contact the package maintainer.

============================== Execution Summary ===============================
Finished 'deps' with 1 warning [4.3s]
```

`dbt build`:

```bash
[error] [InvalidConfig (dbt1005)]: The 'trino' adapter is not yet supported by dbt Fusion. Supported adapters: snowflake, bigquery, databricks, redshift
```

The current advice is "to migrate is to first [upgrade to dbt v1.12](https://docs.getdbt.com/docs/dbt-versions/core-upgrade/upgrading-to-v1.12). It enforces many of the behavior changes that are fully removed in v2.0 of the framework, and even ships with the Fusion-powered project parser so that you can check whether your project will parse correctly. Run dbt parse --use-v2-parser to try it out."

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia con l’annuncio di dbt v2 collegato e le indicazioni per la migrazione a v1.12, quindi riproduci l’avviso segnalato di dbt deps e l’errore dell’adapter di dbt build usando i comandi riportati nell’issue. Il lavoro è completato quando viene monitorata la preparazione al rilascio di dbt v2 e viene documentato lo stato di compatibilità del progetto non appena è disponibile il supporto pertinente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
data-engineering, release
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.