-
Notifications
You must be signed in to change notification settings - Fork 168
Update FebrlExample notebook to add DOCS_DIR construction #1316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,7 +40,7 @@ | |
| "outputs": [], | ||
| "source": [ | ||
| "zinggDir = \"/models\"\n", | ||
| "modelId = \"zinggTestApr22\"" | ||
| "modelId = \"zinggTestApr28\"" | ||
| ] | ||
| }, | ||
| { | ||
|
|
@@ -204,7 +204,7 @@ | |
| "outputs": [], | ||
| "source": [ | ||
| "\n", | ||
| "outputTable = \"zingg_catalog.output.febrlOutput23Apr\"\n", | ||
| "outputTable = \"zingg_catalog.output.febrlOutput28Apr\"\n", | ||
| "outputPipe = UCPipe(\"resultFebrl\", outputTable)\n", | ||
|
Comment on lines
+207
to
208
|
||
| "args.setOutput(outputPipe)" | ||
| ] | ||
|
|
@@ -630,11 +630,12 @@ | |
| }, | ||
| "outputs": [], | ||
| "source": [ | ||
| "\n", | ||
| "options = ClientOptions([ClientOptions.PHASE,\"generateDocs\"])\n", | ||
| "#Zingg execution for the given phase\n", | ||
| "zingg = ZinggWithSpark(args, options)\n", | ||
| "zingg.initAndExecute()\n", | ||
| "\n", | ||
| "DOCS_DIR = zinggDir + \"/\" + modelId + \"/docs/\"\n", | ||
| "dbutils.fs.ls('file:'+DOCS_DIR)\n", | ||
| "\n", | ||
| "# see the labels\n", | ||
|
|
@@ -677,7 +678,7 @@ | |
| }, | ||
| "pythonIndentUnit": 4 | ||
| }, | ||
| "notebookName": "FebrlExample", | ||
| "notebookName": "DBOSS", | ||
| "widgets": {} | ||
|
Comment on lines
+681
to
682
|
||
| }, | ||
| "language_info": { | ||
|
|
||
There was a problem hiding this comment.
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
modelIdto 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.