Skip to content

Commit 424aa3d

Browse files
authored
Merge pull request #298 from vertica/bugfix_qprof_ui
Bug Fix - Qprof - Main Page
2 parents 62a81e3 + 2af6280 commit 424aa3d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

project/ui/qprof_main.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -606,9 +606,9 @@
606606
"key_2 = widgets.Text(description = \"Key (Optional)\", placeholder = \"Enter a unique Key\", layout=widgets.Layout(width='350px'))\n",
607607
"key_2.style.description_width = '150px'\n",
608608
"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",
609-
"target_schema_2 = widgets.Text(description = \"Target Schema (Optional)\", placeholder = \"Enter Schema\",layout=widgets.Layout(width='350px'))\n",
610-
"target_schema_2.style.description_width = '150px'\n",
611-
"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.\")])"
609+
"target_schema__2 = widgets.Text(description = \"Target Schema (Optional)\", placeholder = \"Enter Schema\",layout=widgets.Layout(width='350px'))\n",
610+
"target_schema__2.style.description_width = '150px'\n",
611+
"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.\")])"
612612
]
613613
},
614614
{
@@ -629,7 +629,7 @@
629629
" output_1.clear_output(wait=True)\n",
630630
" global target_schema_val_2, key_val_2, statement_val, transaction_val\n",
631631
" with output_1:\n",
632-
" target_schema_val_2 = target_schema_2.value\n",
632+
" target_schema_val_2 = target_schema__2.value\n",
633633
" if not target_schema_val_2 == \"\" and not schema_exists(target_schema_val_2):\n",
634634
" print(\"\\033[91m\\033[1m Error! The schema does not exist. \\033[0m\\033[0m\")\n",
635635
" else:\n",
@@ -698,7 +698,7 @@
698698
" output_0.clear_output(wait=True)\n",
699699
" global query_val, target_schema_val_2, key_val_2, control_query_val\n",
700700
" with output_0:\n",
701-
" target_schema_val_2 = target_schema_2.value\n",
701+
" target_schema_val_2 = target_schema__2.value\n",
702702
" query_val = query_list(query.value)\n",
703703
" control_query_val = query_list(session_control_sql_textarea.value)\n",
704704
" if not target_schema_val_2 == \"\" and not schema_exists(target_schema_val_2):\n",
@@ -745,7 +745,7 @@
745745
" if not is_input_valid(transaction_statement_list.value):\n",
746746
" print(\"\\033[91m\\033[1m Error \\033[0m: Please check the input syntax. List of tuples is expected.\")\n",
747747
" else:\n",
748-
" target_schema_val_2 = target_schema_2.value\n",
748+
" target_schema_val_2 = target_schema__2.value\n",
749749
" if not target_schema_val_2 == \"\" and not schema_exists(target_schema_val_2):\n",
750750
" print(\"\\033[91m\\033[1m Error! The schema does not exist. \\033[0m\\033[0m\")\n",
751751
" else:\n",
@@ -851,7 +851,7 @@
851851
"\n",
852852
"# Function to observe the value of key_dropdown_comp2 and schema_dropdown_comp2, disabling both if user values are present\n",
853853
"def observe_value_change_comp2(change):\n",
854-
" if key_2.value or target_schema_2.value:\n",
854+
" if key_2.value or target_schema__2.value:\n",
855855
" schema_dropdown_comp2.disabled = True\n",
856856
" key_dropdown_comp2.disabled = True\n",
857857
" else:\n",

0 commit comments

Comments
 (0)