Skip to content

HCK-15458: dbutils with fallback#328

Merged
VitaliiBedletskyi merged 4 commits intodevelopfrom
feat/HCK-15458-dbutils-with-fallback
Mar 26, 2026
Merged

HCK-15458: dbutils with fallback#328
VitaliiBedletskyi merged 4 commits intodevelopfrom
feat/HCK-15458-dbutils-with-fallback

Conversation

@chulanovskyi-bs
Copy link
Copy Markdown
Contributor

Content

  • Implemented the fallback strategy of fetching tables info for large databases.

Technical details

  • Replaced print with dbutils.notebook.exit handler, which doesn't trimm the the content in between.
  • However, even with that, the maximum transferable “window” for Databricks command result is usually around 10–20 MB, depending on runtime. It's not strcitly documented, but was obtained experimentally. When we hit that limit - the fallback would be to fetch each table columns partially, by batch.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 26, 2026

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@VitaliiBedletskyi VitaliiBedletskyi merged commit 1c4fa5a into develop Mar 26, 2026
5 checks passed
@VitaliiBedletskyi VitaliiBedletskyi deleted the feat/HCK-15458-dbutils-with-fallback branch March 26, 2026 10:53
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