Skip to content

Improve the error message of idle URL access - #849

Merged
littlegrasscao merged 1 commit into
mainfrom
sucao/error
Feb 23, 2026
Merged

littlegrasscao merged 1 commit into
mainfrom
sucao/error

Conversation

@littlegrasscao

Copy link
Copy Markdown
Collaborator

When a table is missing from the cache (removed after idle), throw a clearer error that explains cleanup and tells users to set spark.delta.sharing.driver.accessThresholdToExpireMs to the query’s expected execution time (milliseconds).

Co-Authored-By: Sun Cao <sun.cao+data@databricks.com>
@littlegrasscao
littlegrasscao merged commit c743dcc into main Feb 23, 2026
5 of 7 checks passed
littlegrasscao added a commit that referenced this pull request Feb 23, 2026
Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
littlegrasscao added a commit that referenced this pull request Feb 23, 2026
Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
littlegrasscao added a commit that referenced this pull request Feb 23, 2026
Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
littlegrasscao added a commit that referenced this pull request Feb 23, 2026
â€Ķent (#852)

* Support spark.option('callerOrg') in Delta Sharing client (#846)

* Support spark.option('userAgent') in Delta Sharing client

- Add userAgent option to DeltaSharingOptions and pass through RemoteDeltaLog
  and DeltaSharingRestClient to the HTTP User-Agent header (after QueryId,
  before Hadoop segment).
- Add tests: DeltaSharingOptionsSuite (option parsing), DeltaSharingRestClientSuite
  (RemoteDeltaLog path and header assertion).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Update TestDeltaSharingClient.scala

* change to use callerOrg

* add callerOrg- prefix

* Update DeltaSharingClient.scala

---------

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* Update PreSignedUrlCache.scala (#849)

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>

* Update DeltaSharingClient.scala

Co-Authored-By: Sun Cao <sun.cao+data@databricks.com>

---------

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
littlegrasscao added a commit that referenced this pull request Feb 23, 2026
â€Ķent (#851)

* Support spark.option('callerOrg') in Delta Sharing client (#846)

* Support spark.option('userAgent') in Delta Sharing client

- Add userAgent option to DeltaSharingOptions and pass through RemoteDeltaLog
  and DeltaSharingRestClient to the HTTP User-Agent header (after QueryId,
  before Hadoop segment).
- Add tests: DeltaSharingOptionsSuite (option parsing), DeltaSharingRestClientSuite
  (RemoteDeltaLog path and header assertion).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Update TestDeltaSharingClient.scala

* change to use callerOrg

* add callerOrg- prefix

* Update DeltaSharingClient.scala

---------

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* Update PreSignedUrlCache.scala (#849)

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>

---------

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
littlegrasscao added a commit that referenced this pull request Feb 23, 2026
* Support spark.option('callerOrg') in Delta Sharing client (#846)

* Support spark.option('userAgent') in Delta Sharing client

- Add userAgent option to DeltaSharingOptions and pass through RemoteDeltaLog
  and DeltaSharingRestClient to the HTTP User-Agent header (after QueryId,
  before Hadoop segment).
- Add tests: DeltaSharingOptionsSuite (option parsing), DeltaSharingRestClientSuite
  (RemoteDeltaLog path and header assertion).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Update TestDeltaSharingClient.scala

* change to use callerOrg

* add callerOrg- prefix

* Update DeltaSharingClient.scala

---------

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

* Add logging for CachedTableManager debugging (#847)

* add logging

* Update PreSignedUrlCache.scala

---------

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>

* Update PreSignedUrlCache.scala (#849)

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>

---------

Co-authored-by: Sun Cao <sun.cao+data@databricks.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@littlegrasscao
littlegrasscao deleted the sucao/error branch April 2, 2026 00:59
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