Skip to content

Conversation

@foster33
Copy link
Collaborator

@foster33 foster33 commented Nov 4, 2025

The query validation rule, FieldExistenceRule, will now check for hidden fields. If a field is hidden, it will be treated as non-existent.

jschmidt10
jschmidt10 previously approved these changes Nov 6, 2025
* @throws TableNotFoundException
* if the table does not exist
*/
public Set<String> getHiddenFields(Set<String> ingestTypeFilter) throws TableNotFoundException {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be beneficial to make this method cacheable as well with @Cacheable.

*/
@Cacheable(value = "loadHiddenFields", key = "{#root.target.auths,#root.target.metadataTableName}", cacheManager = "metadataHelperCacheManager",
sync = true)
public Multimap<String,String> loadHiddenFields() throws TableNotFoundException {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a unit test for this method?

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