AbsaOSS / AbsaOSS/pramen

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

未关闭
#539 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
arguable enhancement
主要语言
Scala
星标
31
派生
4
平均合并
1 天 10 分钟
30 天内合并 PR
4

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。