Skip to content

Add accept_none to SQLTableCheckOperator #30082

@mag3141592

Description

@mag3141592

Description

Right now, SQLColumnCheckOperator has an accept_none parameter that allows a test to pass if the table is empty. For parity, I think this functionality should be available on the SQLTableCheckOperator.

Use case/motivation

I have a table, that may or may not have data in it on a give day.

If it has data in it, I would like it to pass the test I set but if it doesn't I don't want it to fail by default.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions