Skip to content

Commit

Permalink
Merge pull request #274 from vertica/bugfix_small
Browse files Browse the repository at this point in the history
QueryProfiler Main page UI - bugfix
  • Loading branch information
mail4umar authored Jun 24, 2024
2 parents 4202b60 + c35ae23 commit 0def35f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project/ui/qprof_main.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@
" global target_schema_val_2, key_val_2, statement_val, transaction_val\n",
" with output_1:\n",
" target_schema_val_2 = target_schema_2.value\n",
" if not schema_exists(target_schema_val_2):\n",
" if not target_schema_val_2 == \"\" and not schema_exists(target_schema_val_2):\n",
" print(\"\\033[91m\\033[1m Error! The schema does not exist. \\033[0m\\033[0m\")\n",
" else:\n",
" key_val_2 = key_2.value\n",
Expand Down Expand Up @@ -588,7 +588,7 @@
" global query_val, target_schema_val_2, key_val_2\n",
" with output_0:\n",
" target_schema_val_2 = target_schema_2.value\n",
" if not schema_exists(target_schema_val_2):\n",
" if not target_schema_val_2 == \"\" and not schema_exists(target_schema_val_2):\n",
" print(\"\\033[91m\\033[1m Error! The schema does not exist. \\033[0m\\033[0m\")\n",
" else:\n",
" key_val_2 = key_2.value\n",
Expand Down Expand Up @@ -630,7 +630,7 @@
" print(\"\\033[91m\\033[1m Error \\033[0m: Please check the input syntax. List of tuples is expected.\")\n",
" else:\n",
" target_schema_val_2 = target_schema_2.value\n",
" if not schema_exists(target_schema_val_2):\n",
" if not target_schema_val_2 == \"\" and not schema_exists(target_schema_val_2):\n",
" print(\"\\033[91m\\033[1m Error! The schema does not exist. \\033[0m\\033[0m\")\n",
" else:\n",
" key_val_2 = key_2.value\n",
Expand Down

0 comments on commit 0def35f

Please sign in to comment.