Skip to content

Filter on specific function names in INFORMATION_SCHEMA.ROUTINES tests#14482

Merged
zachjsh merged 1 commit into
apache:masterfrom
abhishekrb19:info_schema_routines_test_update
Jun 27, 2023
Merged

Filter on specific function names in INFORMATION_SCHEMA.ROUTINES tests#14482
zachjsh merged 1 commit into
apache:masterfrom
abhishekrb19:info_schema_routines_test_update

Conversation

@abhishekrb19
Copy link
Copy Markdown
Contributor

testFilterAggregatorFunctionsOnInformationSchemaRoutines and testFilterScalarFunctionsOnInformationSchemaRoutines now validate on specific function names injected into the operator table from the standard list. So developers don't need to update the count when adding a new function.

Ideally, we could inject a static set of operators into the operator table, but that seems a bit tricky to wire up, given the number of dependencies.

This PR has:

  • been self-reviewed.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.

@abhishekrb19 abhishekrb19 force-pushed the info_schema_routines_test_update branch from de311ba to 378471f Compare June 23, 2023 19:05
@abhishekrb19
Copy link
Copy Markdown
Contributor Author

Seeing flaky test failures which will be fixed by #14481 🤞

@zachjsh zachjsh merged commit 903addf into apache:master Jun 27, 2023
@abhishekagarwal87 abhishekagarwal87 added this to the 27.0 milestone Jul 19, 2023
sergioferragut pushed a commit to sergioferragut/druid that referenced this pull request Jul 21, 2023
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

Successfully merging this pull request may close these issues.

4 participants