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

SQLSmith - errors related to the worker_partial_agg_sfunc function #7852

Open
m3hm3t opened this issue Jan 20, 2025 · 0 comments
Open

SQLSmith - errors related to the worker_partial_agg_sfunc function #7852

m3hm3t opened this issue Jan 20, 2025 · 0 comments
Assignees

Comments

@m3hm3t
Copy link
Contributor

m3hm3t commented Jan 20, 2025

We've encountered errors related to the worker_partial_agg_sfunc function, which may indicate untested or buggy code paths in the distributed query execution flow. The following two errors were observed:

  • Error: ERROR: worker_partial_agg_sfunc could not confirm type correctness

Occurrences: 1,153
Description: This suggests that the function encounters type mismatches during partial aggregation on worker nodes. It could be related to scenarios where input types are inconsistent with expected types in distributed aggregate operations.

  • Error: ERROR: worker_partial_agg_sfunc received invalid null input for second argument

Occurrences: 548
Description: This appears to be a case where null inputs are improperly handled, leading to failure during execution.

These errors likely stem from:

  • Insufficient validation of input arguments (e.g., type correctness or null handling) before invoking worker_partial_agg_sfunc.

  • Edge cases in distributed aggregation workflows that are not covered by existing test cases, such as:
    Complex user-defined aggregates.
    Aggregates on non-standard or null values.

@m3hm3t m3hm3t self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants