//snippet-keyword:[AWS SDK for Java v2]
//snippet-keyword:[Code Sample]
//snippet-keyword:[Amazon Athena]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[11/02/2020]
//snippet-sourceauthor:[scmacdon - aws]
/*
   Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   SPDX-License-Identifier: Apache-2.0
*/

//snippet-start:[athena.java2.ExampleConstants.complete]
//snippet-start:[athena.java.ExampleConstants.complete]
package aws.example.athena;

public class ExampleConstants {

    public static final int CLIENT_EXECUTION_TIMEOUT = 100000;
    public static final String ATHENA_OUTPUT_BUCKET = "s3://bucketscott2"; //change the bucket name to match your environment
    // This example demonstrates how to query a table with a CSV  For information, see
    //https://docs.aws.amazon.com/athena/latest/ug/work-with-data.html
    public static final String ATHENA_SAMPLE_QUERY = "SELECT * FROM scott2;"; //change the Query statement to match your environment
    public static final long SLEEP_AMOUNT_IN_MS = 1000;
    public static final String ATHENA_DEFAULT_DATABASE = "mydatabase"; //Change the database to match your database

}
//snippet-end:[athena.java.ExampleConstants.complete]
//snippet-end:[athena.java2.ExampleConstants.complete]
@@ -669,16 +669,26 @@
 nge the 
+Amazon S3 
 bucket n
@@ -783,11 +783,42 @@
 h a 
-CSV
+comma-separated value (CSV) table.
   Fo
@@ -1311,28 +1311,30 @@
 2.ExampleConstants.complete%5D
+%0D%0A

Update ExampleConstants.java