Skip to content

@W-21474807 Group get-datasource-metadata fields by logicalTableId#255

Merged
joeconstantino merged 11 commits intomainfrom
joecon/more-datasource-metadata
Mar 16, 2026
Merged

@W-21474807 Group get-datasource-metadata fields by logicalTableId#255
joeconstantino merged 11 commits intomainfrom
joecon/more-datasource-metadata

Conversation

@joeconstantino
Copy link
Copy Markdown
Contributor

@joeconstantino joeconstantino commented Mar 6, 2026

Summary

  • remove sourceTable from get-datasource-metadata field payloads
  • reshape fields to grouped entries: { logicalTableId, columns[] } with logicalTableId: null supported
  • update metadata utility/test contract and bump package version to 1.17.13

Test plan

  • npm run lint -- \"src/tools/getDatasourceMetadata/**/*.ts\"
  • npm test -- getDatasourceMetadata.test.ts
  • invoke get-datasource-metadata for datasource 3f8f54d4-1587-4b5a-b6d7-4a1b37887122 and verify grouped fields

GUS

  • Work item: W-21474807
  • Epic: [262] [TMCP] Tool Additions and Enhancements

@joeconstantino
Copy link
Copy Markdown
Contributor Author

I'm going to wait on merging this actually. Changing the approach.

Reduce metadata payload redundancy by replacing duplicate table mapping output with grouped fields entries (`logicalTableId` + `columns`). Keep calc/null grouping explicit while removing sourceTable from the response contract.

Made-with: Cursor
@joeconstantino joeconstantino changed the title @W-21474807 return sourceField in Datasource Metadata @w-21474807 Group get-datasource-metadata fields by logicalTableId Mar 12, 2026
@joeconstantino joeconstantino changed the title @w-21474807 Group get-datasource-metadata fields by logicalTableId @W-21474807 Group get-datasource-metadata fields by logicalTableId Mar 12, 2026
Update e2e and eval metadata tests to flatten grouped `fields` entries (`logicalTableId` + `columns`) before asserting column names.

Made-with: Cursor
@joeconstantino joeconstantino merged commit f167c42 into main Mar 16, 2026
5 checks passed
@joeconstantino joeconstantino deleted the joecon/more-datasource-metadata branch March 16, 2026 18:27
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.

3 participants