AbsaOSS / AbsaOSS/pramen

Make sure `disable.count.query = true` does not change the behavior of ingestion

Offen
#539 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
arguable enhancement
Vorherrschende Sprache
Scala
Sterne
31
Forks
4
Ø Merge
1 T. 10 Min.
Gemergte PRs (30 T.)
4

Beschreibung

## Background
Currently, when
```hocon
disable.count.query = true
```

a table is considered successfully loaded even if it does not have data for the current date. This is because the count check is skipped.

## Feature
Make sure `disable.count.query = true` does not change the behavior of ingestion.

## Example [Optional]
--

## Proposed Solution [Optional]
The correct behavior is the same as the one when `disable.count.query = false`. If the number of records is 0 and empty tables are considered 'no data', the the record of data should not be written to the bookkeeping table.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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