Copy a saved query between workgroups
Currently, the Athena console does not have an option to to copy a saved query from one workgroup to another directly, but you can perform the same task manually by using the following procedure.
To copy a saved query between workgroups
-
In the Athena console, from the workgroup that you want to copy the query from, choose the Saved queries tab.
-
Choose the link of the saved query that you want to copy. Athena opens the query in the query editor.
-
In the query editor, select the query text, and then press
Ctrl+C
to copy it. -
Switch to the destination workgroup, or create a workgroup, and then switch to it.
-
Open a new tab in the query editor, and then press
Ctrl+V
to paste the text into the new tab. -
In the query editor, choose Save as to save the query in the destination workgroup.
-
In the Choose a name dialog box, enter a name for the query and an optional description.
-
Choose Save.