Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate count throw TypeError if column not exist #1929

Open
stuncb97 opened this issue Aug 22, 2023 · 2 comments
Open

Duplicate count throw TypeError if column not exist #1929

stuncb97 opened this issue Aug 22, 2023 · 2 comments

Comments

@stuncb97
Copy link

stuncb97 commented Aug 22, 2023

# checks.yml
checks for dummy_table:
  - duplicate_count(col1, col2) = 0   # col2 is not exists 

Query failed -> fetchone function return None -> NoneType' object is not subscriptable Exception

duplicates_query.py - line 96
image

@jmarien
Copy link
Contributor

jmarien commented Aug 22, 2023

SODA-1812

@stuncb97
Copy link
Author

stuncb97 commented Aug 23, 2023

Same issue for reference checks

missing_reference_count = int(self.row[0])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants