Skip to content

Export-DbaCsv, Export-DbaDacPackage - Normalize table/schema names via Get-ObjectNameParts#10314

Merged
potatoqualitee merged 1 commit intodevelopmentfrom
claude/issue-9010-20260405-0830
Apr 5, 2026
Merged

Export-DbaCsv, Export-DbaDacPackage - Normalize table/schema names via Get-ObjectNameParts#10314
potatoqualitee merged 1 commit intodevelopmentfrom
claude/issue-9010-20260405-0830

Conversation

@andreasjordan
Copy link
Copy Markdown
Collaborator

Fixes Group 3 of issue #9010: naive dot-split parsing failed for bracketed dotted table names like [Gross.Table.Name].

  • Export-DbaCsv: replace regex ^(.+)\.(.+)$ with Get-ObjectNameParts
  • Export-DbaDacPackage: replace tableItem.Split('.') with Get-ObjectNameParts

Closes #9010

Generated with Claude Code

…a Get-ObjectNameParts

Fixes Group 3 of issue #9010: naive dot-split parsing failed for bracketed dotted table names like [Gross.Table.Name].

- Export-DbaCsv: replace regex ^(.+)\.(.+)$ with Get-ObjectNameParts call
- Export-DbaDacPackage: replace tableItem.Split('.') with Get-ObjectNameParts call

(do Export-DbaCsv, Export-DbaDacPackage)

Co-authored-by: Andreas Jordan <andreasjordan@users.noreply.github.com>
@potatoqualitee
Copy link
Copy Markdown
Member

looks good 👌🏼 thank you

@potatoqualitee potatoqualitee merged commit 14a47a2 into development Apr 5, 2026
15 checks passed
@potatoqualitee potatoqualitee deleted the claude/issue-9010-20260405-0830 branch April 5, 2026 21:55
potatoqualitee added a commit that referenced this pull request Apr 10, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

Support consistent reference to table names across commands in the module

2 participants