Skip to content

Commit

Permalink
Merge pull request #273 from vertica/bugfix_small
Browse files Browse the repository at this point in the history
bugfix for the QueryProfiler Main UI page
  • Loading branch information
mail4umar authored Jun 14, 2024
2 parents e8aca99 + f6604f6 commit 4202b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/ui/qprof_main.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
" vdf = vp.vDataFrame(query)\n",
" \n",
" # Manipulate table names\n",
" length_to_remove = len(selected_schema) + len(\"_dc_explain_plans_\") + 1\n",
" length_to_remove = len(\"qprof_dc_explain_plans_\") + 1\n",
" vdf['table_name'] = vdf['table_name'].apply(f\"SUBSTR(table_name, {length_to_remove})\")\n",
" \n",
" # Update options of the second dropdown\n",
Expand Down Expand Up @@ -316,7 +316,7 @@
" output_2.clear_output(wait=True)\n",
" with output_2:\n",
" key_val = key.value if key.value else key_dropdown.value\n",
" target_schema_val = target_schema.value if target_schema.value else schema_dropwdown.value\n",
" target_schema_val = target_schema.value if target_schema.value else schema_dropdown.value\n",
" if not schema_exists(target_schema_val):\n",
" print(\"\\033[91m\\033[1m Error! The schema does not exist. \\033[0m\\033[0m\")\n",
" else:\n",
Expand Down

0 comments on commit 4202b60

Please sign in to comment.