Skip to content

Update FebrlExample notebook to add DOCS_DIR construction#1316

Merged
sonalgoyal merged 1 commit into
zinggAI:mainfrom
padam-prakash:DBnotebookupdate
Apr 30, 2026
Merged

Update FebrlExample notebook to add DOCS_DIR construction#1316
sonalgoyal merged 1 commit into
zinggAI:mainfrom
padam-prakash:DBnotebookupdate

Conversation

@padam-prakash
Copy link
Copy Markdown
Contributor

Update FebrlExample notebook to add DOCS_DIR construction.

Update FebrlExample notebook to add DOCS_DIR construction.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Databricks FebrlExample notebook to construct a DOCS_DIR path after running the generateDocs phase so the generated documentation files can be listed and displayed.

Changes:

  • Add DOCS_DIR construction and use it to list/view generated docs after generateDocs.
  • Update the notebook’s default modelId and outputTable values to new date-stamped names.
  • Change Databricks notebook metadata notebookName.

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

Comment on lines +681 to 682
"notebookName": "DBOSS",
"widgets": {}
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

The notebook metadata notebookName is changed from FebrlExample to DBOSS, which appears unrelated to adding DOCS_DIR and may confuse consumers when importing/viewing the notebook. Consider keeping notebookName aligned with the file/notebook’s actual purpose/name, or omit changing it in this PR.

Copilot uses AI. Check for mistakes.
Comment on lines 42 to +43
"zinggDir = \"/models\"\n",
"modelId = \"zinggTestApr22\""
"modelId = \"zinggTestApr28\""
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

The PR description is focused on adding DOCS_DIR construction, but this hunk also changes the default modelId to a different date-stamped value. This makes the example less stable/reproducible and looks unrelated to the stated purpose; consider keeping a consistent default modelId (or deriving it from a parameter/widget) and limiting this PR to the DOCS_DIR change.

Copilot uses AI. Check for mistakes.
Comment on lines +207 to 208
"outputTable = \"zingg_catalog.output.febrlOutput28Apr\"\n",
"outputPipe = UCPipe(\"resultFebrl\", outputTable)\n",
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

This PR is described as adding DOCS_DIR construction, but it also renames the hard-coded outputTable to a new date-specific table. Unless this is required for the DOCS_DIR change, it would be better to avoid committing ephemeral table names (or make the table name configurable) to keep the notebook example repeatable.

Copilot uses AI. Check for mistakes.
@sonalgoyal sonalgoyal merged commit 67d34ec into zinggAI:main Apr 30, 2026
4 of 5 checks passed
padam-prakash added a commit to padam-prakash/zingg-padam that referenced this pull request May 1, 2026
Update FebrlExample notebook to add DOCS_DIR construction.
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.

3 participants