Skip to content

fix: correct selector column in discovery mapper(#6872) - #7002

Open
juicewcode wants to merge 1 commit into
apache:masterfrom
juicewcode:fix/6872-discovery-selector-column
Open

fix: correct selector column in discovery mapper(#6872)#7002
juicewcode wants to merge 1 commit into
apache:masterfrom
juicewcode:fix/6872-discovery-selector-column

Conversation

@juicewcode

@juicewcode juicewcode commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Fixes #6872

Summary

  • Fix selectBySelectorNameAndPluginName to use s.selector_name instead of the nonexistent s.name.

Test

  • Add DiscoveryMapperSqlTest to verify the correct selector column and plugin filter, and ensure the invalid s.name
    reference is absent.

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

  Fix selectBySelectorNameAndPluginName to use selector.selector_name
  instead of the nonexistent selector.name column.

  Add a regression test for the mapper SQL definition.
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.

[BUG] scale_history insert uses SELECT LAST_INSERT_ID() for a varchar non-auto-increment PK

1 participant