diff --git a/project/ui/qprof_main.ipynb b/project/ui/qprof_main.ipynb index c753a0b9..50923a00 100644 --- a/project/ui/qprof_main.ipynb +++ b/project/ui/qprof_main.ipynb @@ -606,9 +606,9 @@ "key_2 = widgets.Text(description = \"Key (Optional)\", placeholder = \"Enter a unique Key\", layout=widgets.Layout(width='350px'))\n", "key_2.style.description_width = '150px'\n", "key_2_combo = widgets.HBox([key_2, create_tooltip(\"Enter a unique key that will be used to save your profile tables. If your key is already in use then a random key will be generated to store the data. Note that you will need the combination of schema and the key to load your saved data. If you do not provide this, you may not be able to export your profile tables to a tar file.\")])\n", - "target_schema_2 = widgets.Text(description = \"Target Schema (Optional)\", placeholder = \"Enter Schema\",layout=widgets.Layout(width='350px'))\n", - "target_schema_2.style.description_width = '150px'\n", - "target_schema_2_combo = widgets.HBox([target_schema_2, create_tooltip(\"Enter the schema in which you would like to store the profile data. Note that you will need the combination of schema and the key to load your saved data. If you do not provide this, you may not be able to export your profile tables to a tar file.\")])" + "target_schema__2 = widgets.Text(description = \"Target Schema (Optional)\", placeholder = \"Enter Schema\",layout=widgets.Layout(width='350px'))\n", + "target_schema__2.style.description_width = '150px'\n", + "target_schema_2_combo = widgets.HBox([target_schema__2, create_tooltip(\"Enter the schema in which you would like to store the profile data. Note that you will need the combination of schema and the key to load your saved data. If you do not provide this, you may not be able to export your profile tables to a tar file.\")])" ] }, { @@ -629,7 +629,7 @@ " output_1.clear_output(wait=True)\n", " 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", + " target_schema_val_2 = target_schema__2.value\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", @@ -698,7 +698,7 @@ " output_0.clear_output(wait=True)\n", " global query_val, target_schema_val_2, key_val_2, control_query_val\n", " with output_0:\n", - " target_schema_val_2 = target_schema_2.value\n", + " target_schema_val_2 = target_schema__2.value\n", " query_val = query_list(query.value)\n", " control_query_val = query_list(session_control_sql_textarea.value)\n", " if not target_schema_val_2 == \"\" and not schema_exists(target_schema_val_2):\n", @@ -745,7 +745,7 @@ " if not is_input_valid(transaction_statement_list.value):\n", " 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", + " target_schema_val_2 = target_schema__2.value\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", @@ -851,7 +851,7 @@ "\n", "# Function to observe the value of key_dropdown_comp2 and schema_dropdown_comp2, disabling both if user values are present\n", "def observe_value_change_comp2(change):\n", - " if key_2.value or target_schema_2.value:\n", + " if key_2.value or target_schema__2.value:\n", " schema_dropdown_comp2.disabled = True\n", " key_dropdown_comp2.disabled = True\n", " else:\n",