Skip to content

Conversation

@rehbbea
Copy link

@rehbbea rehbbea commented Jan 12, 2026

  • Synapse dedicated pools don't have direct access to tempdb for temp tables
  • When sqlRenderTempEmulationSchema option is set, queries the emulation schema instead
  • Adds error handling for environments without tempdb access
  • Changes are conditional - only uses emulation path when option is set

- Check for sqlRenderTempEmulationSchema option before querying tempdb
- When temp table emulation is enabled, query INFORMATION_SCHEMA.TABLES
  in the emulation schema instead of tempdb..sysobjects
- Add tryCatch to gracefully handle Synapse environments where
  tempdb is not accessible

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ablack3
Copy link
Collaborator

ablack3 commented Jan 12, 2026

Thanks for the PR @rehbbea

@ablack3
Copy link
Collaborator

ablack3 commented Jan 12, 2026

@rehbbea We cannot merge PRs here, but I can make these changes in the dev repo and use them in the next release. :)

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.

2 participants