diff --git a/project/ui/qprof_main.ipynb b/project/ui/qprof_main.ipynb index ef62e5d2..18db5529 100644 --- a/project/ui/qprof_main.ipynb +++ b/project/ui/qprof_main.ipynb @@ -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", @@ -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", @@ -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",