apache / apache/datafusion-python

Run all user examples in CI

Offen
#888 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
604
Forks
174
Ø Merge
1 T. 7 Std.
Gemergte PRs (30 T.)
4

Beschreibung

**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**

Per a comment from @mesejo in #880 it would be helpful to run user examples in CI to ensure that our examples stay up to date with any breaking changes in the API.

**Describe the solution you'd like**

Update all user examples if necessary and add code to run them as part of CI.

**Describe alternatives you've considered**

We could leave as is, but this seems like a very good idea.

**Additional context**

This is already being done for TPC-H queries and we can re-use the generated dataset that is already created in CI. Here is where the tests are being run: https://github.com/apache/datafusion-python/blob/main/examples/tpch/_tests.py

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with examples/tpch/_tests.py and the existing CI configuration that runs TPC-H queries. Identify how the generated dataset is reused, then determine how all user examples can be executed in CI. Done means the examples run successfully in CI and any required updates keep them compatible with the current API.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
ci-cd, testing
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.