AbsaOSS / AbsaOSS/pramen

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

Aperta
#539 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
arguable enhancement
Lingua principale
Scala
Stelle
31
Fork
4
Merge medio
1g 10m
PR unite (30g)
4

Descrizione

## 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.