Skip to content

NO-SNOW: Remove ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN from LobSizeLatestIT#2605

Merged
sfc-gh-dheyman merged 1 commit into
masterfrom
dheyman/fix-lob-size-allow-large-lobs-removed
Apr 29, 2026
Merged

NO-SNOW: Remove ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN from LobSizeLatestIT#2605
sfc-gh-dheyman merged 1 commit into
masterfrom
dheyman/fix-lob-size-allow-large-lobs-removed

Conversation

@sfc-gh-dheyman

@sfc-gh-dheyman sfc-gh-dheyman commented Apr 29, 2026

Copy link
Copy Markdown
Collaborator

TL;DR

Removed the session parameter override for ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN in the LOB size integration test, because tests started failing with SQL compilation error: invalid parameter 'ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN

What changed?

The conditional statement that executed alter session set ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN = true for LOB sizes exceeding the original limit (16MB–128MB) has been removed from the testPutAndGet test method.

How to test?

Run the LobSizeLatestIT integration tests across the various LOB size and result format combinations to confirm that large LOB PUT/GET operations succeed without requiring the session parameter to be explicitly set.

Why make this change?

The ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN session parameter has been removed from Snowflake (server release 10.15). Since early-access accounts have started rolling forward to 10.15, JDBC CI began failing.

Copilot AI review requested due to automatic review settings April 29, 2026 09:31

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes use of the ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN session parameter from the LobSizeLatestIT integration test, avoiding reliance on a session setting that is no longer needed/available for the PUT/COPY/GET LOB-size coverage.

Changes:

  • Deleted conditional session alteration enabling ALLOW_LARGE_LOBS_IN_EXTERNAL_SCAN for larger LOB sizes in testPutAndGet.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sfc-gh-dheyman sfc-gh-dheyman marked this pull request as ready for review April 29, 2026 09:34
@sfc-gh-dheyman sfc-gh-dheyman requested a review from a team as a code owner April 29, 2026 09:34
@sfc-gh-dheyman sfc-gh-dheyman enabled auto-merge (squash) April 29, 2026 11:12
@sfc-gh-dheyman sfc-gh-dheyman merged commit 70c48fe into master Apr 29, 2026
122 of 143 checks passed
@sfc-gh-dheyman sfc-gh-dheyman deleted the dheyman/fix-lob-size-allow-large-lobs-removed branch April 29, 2026 11:37
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants