From 5b38a8533eade5cabe0f7d83a6888e9ae9b4da4b Mon Sep 17 00:00:00 2001 From: Stephanie Wang Date: Fri, 27 Mar 2020 12:35:40 -0400 Subject: [PATCH] samples: add multi-module samples module to bq client (#248) * samples: add multi-module samples module to bq client to enable testing against SNAPSHOT * update based on comments * update commit msg * fix build error and kokoro path * update test file path * fix build error * remove redundant deps * update samples build script to work for all 3 samples modules * revert copyright year --- .kokoro/run_samples_tests.sh | 22 +- samples/install-without-bom/pom.xml | 101 ++ .../src/test/resources/bigquery_noheader.csv | 0 samples/pom.xml | 78 +- samples/snapshot/pom.xml | 100 ++ .../src/test/resources/bigquery_noheader.csv | 1014 +++++++++++++++++ samples/{ => snippets}/README.md | 0 samples/snippets/pom.xml | 95 ++ .../example/bigquery/AddColumnLoadAppend.java | 0 .../com/example/bigquery/AddEmptyColumn.java | 0 .../com/example/bigquery/AuthDriveScope.java | 0 .../com/example/bigquery/AuthSnippets.java | 0 .../example/bigquery/CopyMultipleTables.java | 0 .../bigquery/CreateClusteredTable.java | 0 .../com/example/bigquery/CreateDataset.java | 0 .../bigquery/CreatePartitionedTable.java | 0 .../com/example/bigquery/CreateTable.java | 0 .../com/example/bigquery/DeleteDataset.java | 0 .../com/example/bigquery/DeleteTable.java | 0 .../example/bigquery/ExtractTableToJson.java | 0 .../com/example/bigquery/GetDatasetInfo.java | 0 .../java/com/example/bigquery/GetModel.java | 0 .../java/com/example/bigquery/GetTable.java | 0 .../com/example/bigquery/ListDatasets.java | 0 .../java/com/example/bigquery/ListModels.java | 0 .../java/com/example/bigquery/ListTables.java | 0 .../com/example/bigquery/LoadLocalFile.java | 0 .../com/example/bigquery/LoadParquet.java | 0 .../bigquery/LoadParquetReplaceTable.java | 0 .../bigquery/LoadPartitionedTable.java | 0 .../example/bigquery/LoadTableClustered.java | 0 .../bigquery/NestedRepeatedSchema.java | 0 .../example/bigquery/QueryClusteredTable.java | 0 .../bigquery/QueryWithNamedParameters.java | 0 .../QueryWithPositionalParameters.java | 0 .../example/bigquery/QuickstartSample.java | 0 .../com/example/bigquery/RelaxColumnMode.java | 0 .../com/example/bigquery/RelaxTableQuery.java | 0 .../com/example/bigquery/RunLegacyQuery.java | 0 .../java/com/example/bigquery/SimpleApp.java | 0 .../com/example/bigquery/TableInsertRows.java | 0 .../example/bigquery/UpdateDatasetAccess.java | 0 .../bigquery/UpdateDatasetDescription.java | 0 .../bigquery/UpdateDatasetExpiration.java | 0 .../bigquery/UpdateTableExpiration.java | 0 .../bigquery/AddColumnLoadAppendIT.java | 0 .../example/bigquery/AddEmptyColumnIT.java | 0 .../example/bigquery/AuthDriveScopeIT.java | 0 .../com/example/bigquery/AuthSnippetsIT.java | 0 .../bigquery/CopyMultipleTablesIT.java | 0 .../bigquery/CreateClusteredTableIT.java | 0 .../com/example/bigquery/CreateDatasetIT.java | 0 .../bigquery/CreatePartitionedTableIT.java | 0 .../com/example/bigquery/CreateTableIT.java | 0 .../com/example/bigquery/DeleteDatasetIT.java | 0 .../com/example/bigquery/DeleteTableIT.java | 0 .../bigquery/ExtractTableToJsonIT.java | 0 .../example/bigquery/GetDatasetInfoIT.java | 0 .../java/com/example/bigquery/GetModelIT.java | 0 .../java/com/example/bigquery/GetTableIT.java | 0 .../com/example/bigquery/ListDatasetsIT.java | 0 .../com/example/bigquery/ListModelsIT.java | 0 .../com/example/bigquery/ListTablesIT.java | 0 .../com/example/bigquery/LoadLocalFileIT.java | 0 .../com/example/bigquery/LoadParquetIT.java | 0 .../bigquery/LoadParquetReplaceTableIT.java | 0 .../bigquery/LoadPartitionedTableIT.java | 0 .../bigquery/LoadTableClusteredIT.java | 0 .../bigquery/NestedRepeatedSchemaIT.java | 0 .../bigquery/QueryClusteredTableIT.java | 0 .../bigquery/QueryWithNamedParametersIT.java | 0 .../QueryWithPositionalParametersIT.java | 0 .../example/bigquery/QuickstartSampleIT.java | 0 .../example/bigquery/RelaxColumnModeIT.java | 0 .../example/bigquery/RelaxTableQueryIT.java | 0 .../example/bigquery/RunLegacyQueryIT.java | 0 .../com/example/bigquery/SimpleAppIT.java | 0 .../example/bigquery/TableInsertRowsIT.java | 0 .../bigquery/UpdateDatasetAccessIT.java | 0 .../bigquery/UpdateDatasetDescriptionIT.java | 0 .../bigquery/UpdateDatasetExpirationIT.java | 0 .../bigquery/UpdateTableExpirationIT.java | 0 .../src/test/resources/bigquery_noheader.csv | 1014 +++++++++++++++++ synth.py | 1 - 84 files changed, 2363 insertions(+), 62 deletions(-) create mode 100644 samples/install-without-bom/pom.xml rename samples/{ => install-without-bom}/src/test/resources/bigquery_noheader.csv (100%) create mode 100644 samples/snapshot/pom.xml create mode 100644 samples/snapshot/src/test/resources/bigquery_noheader.csv rename samples/{ => snippets}/README.md (100%) create mode 100644 samples/snippets/pom.xml rename samples/{ => snippets}/src/main/java/com/example/bigquery/AddColumnLoadAppend.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/AddEmptyColumn.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/AuthDriveScope.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/AuthSnippets.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/CopyMultipleTables.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/CreateClusteredTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/CreateDataset.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/CreatePartitionedTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/CreateTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/DeleteDataset.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/DeleteTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/ExtractTableToJson.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/GetDatasetInfo.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/GetModel.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/GetTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/ListDatasets.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/ListModels.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/ListTables.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/LoadLocalFile.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/LoadParquet.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/LoadParquetReplaceTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/LoadPartitionedTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/LoadTableClustered.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/NestedRepeatedSchema.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/QueryClusteredTable.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/QueryWithNamedParameters.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/QueryWithPositionalParameters.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/QuickstartSample.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/RelaxColumnMode.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/RelaxTableQuery.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/RunLegacyQuery.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/SimpleApp.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/TableInsertRows.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/UpdateDatasetAccess.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/UpdateDatasetDescription.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/UpdateDatasetExpiration.java (100%) rename samples/{ => snippets}/src/main/java/com/example/bigquery/UpdateTableExpiration.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/AddColumnLoadAppendIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/AddEmptyColumnIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/AuthDriveScopeIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/AuthSnippetsIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/CopyMultipleTablesIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/CreateClusteredTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/CreateDatasetIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/CreatePartitionedTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/CreateTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/DeleteDatasetIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/DeleteTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/ExtractTableToJsonIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/GetDatasetInfoIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/GetModelIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/GetTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/ListDatasetsIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/ListModelsIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/ListTablesIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/LoadLocalFileIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/LoadParquetIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/LoadParquetReplaceTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/LoadPartitionedTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/LoadTableClusteredIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/NestedRepeatedSchemaIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/QueryClusteredTableIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/QueryWithNamedParametersIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/QueryWithPositionalParametersIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/QuickstartSampleIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/RelaxColumnModeIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/RelaxTableQueryIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/RunLegacyQueryIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/SimpleAppIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/TableInsertRowsIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/UpdateDatasetAccessIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/UpdateDatasetDescriptionIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/UpdateDatasetExpirationIT.java (100%) rename samples/{ => snippets}/src/test/java/com/example/bigquery/UpdateTableExpirationIT.java (100%) create mode 100644 samples/snippets/src/test/resources/bigquery_noheader.csv diff --git a/.kokoro/run_samples_tests.sh b/.kokoro/run_samples_tests.sh index dc8b82215..02038d8f3 100755 --- a/.kokoro/run_samples_tests.sh +++ b/.kokoro/run_samples_tests.sh @@ -20,19 +20,35 @@ set -eo pipefail echo "********** MAVEN INFO ***********" mvn -v +# Get the directory of the build script +scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) +## cd to the parent directory, i.e. the root of the git repo +cd ${scriptDir}/.. + +# include common functions +source ${scriptDir}/common.sh + # Setup required env variables source ${KOKORO_GFILE_DIR}/bigquery_secrets.txt echo "********** Successfully Set All Environment Variables **********" +# Attempt to install 3 times with exponential backoff (starting with 10 seconds) +retry_with_backoff 3 10 \ + mvn install -B -V \ + -DskipTests=true \ + -Dclirr.skip=true \ + -Denforcer.skip=true \ + -Dmaven.javadoc.skip=true \ + -Dgcloud.download.skip=true \ + -T 1C + # Activate service account gcloud auth activate-service-account \ --key-file="$GOOGLE_APPLICATION_CREDENTIALS" \ --project="$GOOGLE_CLOUD_PROJECT" -# Get the directory of the build script -scriptDir=$(realpath $(dirname "${BASH_SOURCE[0]}")) # Move into the samples directory -cd ${scriptDir}/../samples/ +cd samples/ echo -e "\n******************** RUNNING SAMPLE TESTS ********************" diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml new file mode 100644 index 000000000..953a54eb8 --- /dev/null +++ b/samples/install-without-bom/pom.xml @@ -0,0 +1,101 @@ + + + + + 4.0.0 + com.google.cloud + bigquery-install-without-bom + jar + Google BigQuery Install Without Bom + https://github.com/googleapis/java-bigquery + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-bigquery + 1.110.0 + + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/samples/src/test/resources/bigquery_noheader.csv b/samples/install-without-bom/src/test/resources/bigquery_noheader.csv similarity index 100% rename from samples/src/test/resources/bigquery_noheader.csv rename to samples/install-without-bom/src/test/resources/bigquery_noheader.csv diff --git a/samples/pom.xml b/samples/pom.xml index 74a3156df..079fb4d7f 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -1,3 +1,4 @@ + - + + 4.0.0 - com.example.bigquery - bigquery-google-cloud-samples - jar + com.google.cloud + google-cloud-bigquery-samples + 0.0.1-SNAPSHOT + pom + Google BigQuery Samples Parent + https://github.com/googleapis/java-bigquery + + Java idiomatic client for Google Cloud Platform services. + - - - - - com.google.cloud - libraries-bom - 4.3.0 - pom - import - - - - - - - com.google.cloud - google-cloud-bigquery - - - - com.google.api - gax - 1.54.0 - - - com.google.cloud - google-cloud-core - 1.93.3 - - - com.google.auth - google-auth-library-oauth2-http - 0.20.0 - - - - - junit - junit - 4.13 - test - - - com.google.truth - truth - 1.0 - test - - + + install-without-bom + snapshot + snippets + @@ -107,4 +69,4 @@ - + diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml new file mode 100644 index 000000000..6ef508f6b --- /dev/null +++ b/samples/snapshot/pom.xml @@ -0,0 +1,100 @@ + + + + + 4.0.0 + com.google.cloud + bigquery-snapshot + jar + Google BigQuery Snapshot Samples + https://github.com/googleapis/java-bigquery + + + + com.google.cloud.samples + shared-configuration + 1.0.12 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-bigquery + 1.110.1-SNAPSHOT + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.1.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + \ No newline at end of file diff --git a/samples/snapshot/src/test/resources/bigquery_noheader.csv b/samples/snapshot/src/test/resources/bigquery_noheader.csv new file mode 100644 index 000000000..2e6059952 --- /dev/null +++ b/samples/snapshot/src/test/resources/bigquery_noheader.csv @@ -0,0 +1,1014 @@ +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +Gandalf,2000,140,true +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,2,199.9,false +test,4,199.9,false +test,2,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,2,199.9,false +test,1,199.9,false +test,0,199.9,false +test,2,199.9,false +test,2,199.9,false +test,0,199.9,false +test,2,199.9,false +test,0,199.9,false +test,4,199.9,false +test,2,199.9,false +test,0,199.9,false +test,3,199.9,false +test,3,199.9,false +test,4,199.9,false +test,4,199.9,false +test,4,199.9,false +test,0,199.9,false +test,3,199.9,false +test,1,199.9,false +test,3,199.9,false +test,3,199.9,false +test,1,199.9,false +test,2,199.9,false +test,3,199.9,false +test,4,199.9,false +test,4,199.9,false +test,1,199.9,false +test,4,199.9,false +test,0,199.9,false +test,2,199.9,false +test,0,199.9,false +test,3,199.9,false +test,4,199.9,false +test,1,199.9,false +test,3,199.9,false +test,1,199.9,false +test,0,199.9,false +test,3,199.9,false +test,3,199.9,false +test,0,199.9,false +test,4,199.9,false +test,1,199.9,false +test,2,199.9,false +test,1,199.9,false +test,1,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,199.9,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +Gandalf,2000,140,true diff --git a/samples/README.md b/samples/snippets/README.md similarity index 100% rename from samples/README.md rename to samples/snippets/README.md diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml new file mode 100644 index 000000000..5a56f5319 --- /dev/null +++ b/samples/snippets/pom.xml @@ -0,0 +1,95 @@ + + + 4.0.0 + com.example.bigquery + bigquery-google-cloud-samples + jar + + + + com.google.cloud.samples + shared-configuration + 1.0.13 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + + com.google.cloud + libraries-bom + 4.3.0 + pom + import + + + + + + + com.google.cloud + google-cloud-bigquery + + + + + + junit + junit + 4.13 + test + + + com.google.truth + truth + 1.0.1 + test + + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + + true + + + + + diff --git a/samples/src/main/java/com/example/bigquery/AddColumnLoadAppend.java b/samples/snippets/src/main/java/com/example/bigquery/AddColumnLoadAppend.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/AddColumnLoadAppend.java rename to samples/snippets/src/main/java/com/example/bigquery/AddColumnLoadAppend.java diff --git a/samples/src/main/java/com/example/bigquery/AddEmptyColumn.java b/samples/snippets/src/main/java/com/example/bigquery/AddEmptyColumn.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/AddEmptyColumn.java rename to samples/snippets/src/main/java/com/example/bigquery/AddEmptyColumn.java diff --git a/samples/src/main/java/com/example/bigquery/AuthDriveScope.java b/samples/snippets/src/main/java/com/example/bigquery/AuthDriveScope.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/AuthDriveScope.java rename to samples/snippets/src/main/java/com/example/bigquery/AuthDriveScope.java diff --git a/samples/src/main/java/com/example/bigquery/AuthSnippets.java b/samples/snippets/src/main/java/com/example/bigquery/AuthSnippets.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/AuthSnippets.java rename to samples/snippets/src/main/java/com/example/bigquery/AuthSnippets.java diff --git a/samples/src/main/java/com/example/bigquery/CopyMultipleTables.java b/samples/snippets/src/main/java/com/example/bigquery/CopyMultipleTables.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/CopyMultipleTables.java rename to samples/snippets/src/main/java/com/example/bigquery/CopyMultipleTables.java diff --git a/samples/src/main/java/com/example/bigquery/CreateClusteredTable.java b/samples/snippets/src/main/java/com/example/bigquery/CreateClusteredTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/CreateClusteredTable.java rename to samples/snippets/src/main/java/com/example/bigquery/CreateClusteredTable.java diff --git a/samples/src/main/java/com/example/bigquery/CreateDataset.java b/samples/snippets/src/main/java/com/example/bigquery/CreateDataset.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/CreateDataset.java rename to samples/snippets/src/main/java/com/example/bigquery/CreateDataset.java diff --git a/samples/src/main/java/com/example/bigquery/CreatePartitionedTable.java b/samples/snippets/src/main/java/com/example/bigquery/CreatePartitionedTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/CreatePartitionedTable.java rename to samples/snippets/src/main/java/com/example/bigquery/CreatePartitionedTable.java diff --git a/samples/src/main/java/com/example/bigquery/CreateTable.java b/samples/snippets/src/main/java/com/example/bigquery/CreateTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/CreateTable.java rename to samples/snippets/src/main/java/com/example/bigquery/CreateTable.java diff --git a/samples/src/main/java/com/example/bigquery/DeleteDataset.java b/samples/snippets/src/main/java/com/example/bigquery/DeleteDataset.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/DeleteDataset.java rename to samples/snippets/src/main/java/com/example/bigquery/DeleteDataset.java diff --git a/samples/src/main/java/com/example/bigquery/DeleteTable.java b/samples/snippets/src/main/java/com/example/bigquery/DeleteTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/DeleteTable.java rename to samples/snippets/src/main/java/com/example/bigquery/DeleteTable.java diff --git a/samples/src/main/java/com/example/bigquery/ExtractTableToJson.java b/samples/snippets/src/main/java/com/example/bigquery/ExtractTableToJson.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/ExtractTableToJson.java rename to samples/snippets/src/main/java/com/example/bigquery/ExtractTableToJson.java diff --git a/samples/src/main/java/com/example/bigquery/GetDatasetInfo.java b/samples/snippets/src/main/java/com/example/bigquery/GetDatasetInfo.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/GetDatasetInfo.java rename to samples/snippets/src/main/java/com/example/bigquery/GetDatasetInfo.java diff --git a/samples/src/main/java/com/example/bigquery/GetModel.java b/samples/snippets/src/main/java/com/example/bigquery/GetModel.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/GetModel.java rename to samples/snippets/src/main/java/com/example/bigquery/GetModel.java diff --git a/samples/src/main/java/com/example/bigquery/GetTable.java b/samples/snippets/src/main/java/com/example/bigquery/GetTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/GetTable.java rename to samples/snippets/src/main/java/com/example/bigquery/GetTable.java diff --git a/samples/src/main/java/com/example/bigquery/ListDatasets.java b/samples/snippets/src/main/java/com/example/bigquery/ListDatasets.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/ListDatasets.java rename to samples/snippets/src/main/java/com/example/bigquery/ListDatasets.java diff --git a/samples/src/main/java/com/example/bigquery/ListModels.java b/samples/snippets/src/main/java/com/example/bigquery/ListModels.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/ListModels.java rename to samples/snippets/src/main/java/com/example/bigquery/ListModels.java diff --git a/samples/src/main/java/com/example/bigquery/ListTables.java b/samples/snippets/src/main/java/com/example/bigquery/ListTables.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/ListTables.java rename to samples/snippets/src/main/java/com/example/bigquery/ListTables.java diff --git a/samples/src/main/java/com/example/bigquery/LoadLocalFile.java b/samples/snippets/src/main/java/com/example/bigquery/LoadLocalFile.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/LoadLocalFile.java rename to samples/snippets/src/main/java/com/example/bigquery/LoadLocalFile.java diff --git a/samples/src/main/java/com/example/bigquery/LoadParquet.java b/samples/snippets/src/main/java/com/example/bigquery/LoadParquet.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/LoadParquet.java rename to samples/snippets/src/main/java/com/example/bigquery/LoadParquet.java diff --git a/samples/src/main/java/com/example/bigquery/LoadParquetReplaceTable.java b/samples/snippets/src/main/java/com/example/bigquery/LoadParquetReplaceTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/LoadParquetReplaceTable.java rename to samples/snippets/src/main/java/com/example/bigquery/LoadParquetReplaceTable.java diff --git a/samples/src/main/java/com/example/bigquery/LoadPartitionedTable.java b/samples/snippets/src/main/java/com/example/bigquery/LoadPartitionedTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/LoadPartitionedTable.java rename to samples/snippets/src/main/java/com/example/bigquery/LoadPartitionedTable.java diff --git a/samples/src/main/java/com/example/bigquery/LoadTableClustered.java b/samples/snippets/src/main/java/com/example/bigquery/LoadTableClustered.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/LoadTableClustered.java rename to samples/snippets/src/main/java/com/example/bigquery/LoadTableClustered.java diff --git a/samples/src/main/java/com/example/bigquery/NestedRepeatedSchema.java b/samples/snippets/src/main/java/com/example/bigquery/NestedRepeatedSchema.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/NestedRepeatedSchema.java rename to samples/snippets/src/main/java/com/example/bigquery/NestedRepeatedSchema.java diff --git a/samples/src/main/java/com/example/bigquery/QueryClusteredTable.java b/samples/snippets/src/main/java/com/example/bigquery/QueryClusteredTable.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/QueryClusteredTable.java rename to samples/snippets/src/main/java/com/example/bigquery/QueryClusteredTable.java diff --git a/samples/src/main/java/com/example/bigquery/QueryWithNamedParameters.java b/samples/snippets/src/main/java/com/example/bigquery/QueryWithNamedParameters.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/QueryWithNamedParameters.java rename to samples/snippets/src/main/java/com/example/bigquery/QueryWithNamedParameters.java diff --git a/samples/src/main/java/com/example/bigquery/QueryWithPositionalParameters.java b/samples/snippets/src/main/java/com/example/bigquery/QueryWithPositionalParameters.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/QueryWithPositionalParameters.java rename to samples/snippets/src/main/java/com/example/bigquery/QueryWithPositionalParameters.java diff --git a/samples/src/main/java/com/example/bigquery/QuickstartSample.java b/samples/snippets/src/main/java/com/example/bigquery/QuickstartSample.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/QuickstartSample.java rename to samples/snippets/src/main/java/com/example/bigquery/QuickstartSample.java diff --git a/samples/src/main/java/com/example/bigquery/RelaxColumnMode.java b/samples/snippets/src/main/java/com/example/bigquery/RelaxColumnMode.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/RelaxColumnMode.java rename to samples/snippets/src/main/java/com/example/bigquery/RelaxColumnMode.java diff --git a/samples/src/main/java/com/example/bigquery/RelaxTableQuery.java b/samples/snippets/src/main/java/com/example/bigquery/RelaxTableQuery.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/RelaxTableQuery.java rename to samples/snippets/src/main/java/com/example/bigquery/RelaxTableQuery.java diff --git a/samples/src/main/java/com/example/bigquery/RunLegacyQuery.java b/samples/snippets/src/main/java/com/example/bigquery/RunLegacyQuery.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/RunLegacyQuery.java rename to samples/snippets/src/main/java/com/example/bigquery/RunLegacyQuery.java diff --git a/samples/src/main/java/com/example/bigquery/SimpleApp.java b/samples/snippets/src/main/java/com/example/bigquery/SimpleApp.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/SimpleApp.java rename to samples/snippets/src/main/java/com/example/bigquery/SimpleApp.java diff --git a/samples/src/main/java/com/example/bigquery/TableInsertRows.java b/samples/snippets/src/main/java/com/example/bigquery/TableInsertRows.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/TableInsertRows.java rename to samples/snippets/src/main/java/com/example/bigquery/TableInsertRows.java diff --git a/samples/src/main/java/com/example/bigquery/UpdateDatasetAccess.java b/samples/snippets/src/main/java/com/example/bigquery/UpdateDatasetAccess.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/UpdateDatasetAccess.java rename to samples/snippets/src/main/java/com/example/bigquery/UpdateDatasetAccess.java diff --git a/samples/src/main/java/com/example/bigquery/UpdateDatasetDescription.java b/samples/snippets/src/main/java/com/example/bigquery/UpdateDatasetDescription.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/UpdateDatasetDescription.java rename to samples/snippets/src/main/java/com/example/bigquery/UpdateDatasetDescription.java diff --git a/samples/src/main/java/com/example/bigquery/UpdateDatasetExpiration.java b/samples/snippets/src/main/java/com/example/bigquery/UpdateDatasetExpiration.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/UpdateDatasetExpiration.java rename to samples/snippets/src/main/java/com/example/bigquery/UpdateDatasetExpiration.java diff --git a/samples/src/main/java/com/example/bigquery/UpdateTableExpiration.java b/samples/snippets/src/main/java/com/example/bigquery/UpdateTableExpiration.java similarity index 100% rename from samples/src/main/java/com/example/bigquery/UpdateTableExpiration.java rename to samples/snippets/src/main/java/com/example/bigquery/UpdateTableExpiration.java diff --git a/samples/src/test/java/com/example/bigquery/AddColumnLoadAppendIT.java b/samples/snippets/src/test/java/com/example/bigquery/AddColumnLoadAppendIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/AddColumnLoadAppendIT.java rename to samples/snippets/src/test/java/com/example/bigquery/AddColumnLoadAppendIT.java diff --git a/samples/src/test/java/com/example/bigquery/AddEmptyColumnIT.java b/samples/snippets/src/test/java/com/example/bigquery/AddEmptyColumnIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/AddEmptyColumnIT.java rename to samples/snippets/src/test/java/com/example/bigquery/AddEmptyColumnIT.java diff --git a/samples/src/test/java/com/example/bigquery/AuthDriveScopeIT.java b/samples/snippets/src/test/java/com/example/bigquery/AuthDriveScopeIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/AuthDriveScopeIT.java rename to samples/snippets/src/test/java/com/example/bigquery/AuthDriveScopeIT.java diff --git a/samples/src/test/java/com/example/bigquery/AuthSnippetsIT.java b/samples/snippets/src/test/java/com/example/bigquery/AuthSnippetsIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/AuthSnippetsIT.java rename to samples/snippets/src/test/java/com/example/bigquery/AuthSnippetsIT.java diff --git a/samples/src/test/java/com/example/bigquery/CopyMultipleTablesIT.java b/samples/snippets/src/test/java/com/example/bigquery/CopyMultipleTablesIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/CopyMultipleTablesIT.java rename to samples/snippets/src/test/java/com/example/bigquery/CopyMultipleTablesIT.java diff --git a/samples/src/test/java/com/example/bigquery/CreateClusteredTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/CreateClusteredTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/CreateClusteredTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/CreateClusteredTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/CreateDatasetIT.java b/samples/snippets/src/test/java/com/example/bigquery/CreateDatasetIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/CreateDatasetIT.java rename to samples/snippets/src/test/java/com/example/bigquery/CreateDatasetIT.java diff --git a/samples/src/test/java/com/example/bigquery/CreatePartitionedTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/CreatePartitionedTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/CreatePartitionedTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/CreatePartitionedTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/CreateTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/CreateTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/CreateTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/CreateTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/DeleteDatasetIT.java b/samples/snippets/src/test/java/com/example/bigquery/DeleteDatasetIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/DeleteDatasetIT.java rename to samples/snippets/src/test/java/com/example/bigquery/DeleteDatasetIT.java diff --git a/samples/src/test/java/com/example/bigquery/DeleteTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/DeleteTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/DeleteTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/DeleteTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/ExtractTableToJsonIT.java b/samples/snippets/src/test/java/com/example/bigquery/ExtractTableToJsonIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/ExtractTableToJsonIT.java rename to samples/snippets/src/test/java/com/example/bigquery/ExtractTableToJsonIT.java diff --git a/samples/src/test/java/com/example/bigquery/GetDatasetInfoIT.java b/samples/snippets/src/test/java/com/example/bigquery/GetDatasetInfoIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/GetDatasetInfoIT.java rename to samples/snippets/src/test/java/com/example/bigquery/GetDatasetInfoIT.java diff --git a/samples/src/test/java/com/example/bigquery/GetModelIT.java b/samples/snippets/src/test/java/com/example/bigquery/GetModelIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/GetModelIT.java rename to samples/snippets/src/test/java/com/example/bigquery/GetModelIT.java diff --git a/samples/src/test/java/com/example/bigquery/GetTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/GetTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/GetTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/GetTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/ListDatasetsIT.java b/samples/snippets/src/test/java/com/example/bigquery/ListDatasetsIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/ListDatasetsIT.java rename to samples/snippets/src/test/java/com/example/bigquery/ListDatasetsIT.java diff --git a/samples/src/test/java/com/example/bigquery/ListModelsIT.java b/samples/snippets/src/test/java/com/example/bigquery/ListModelsIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/ListModelsIT.java rename to samples/snippets/src/test/java/com/example/bigquery/ListModelsIT.java diff --git a/samples/src/test/java/com/example/bigquery/ListTablesIT.java b/samples/snippets/src/test/java/com/example/bigquery/ListTablesIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/ListTablesIT.java rename to samples/snippets/src/test/java/com/example/bigquery/ListTablesIT.java diff --git a/samples/src/test/java/com/example/bigquery/LoadLocalFileIT.java b/samples/snippets/src/test/java/com/example/bigquery/LoadLocalFileIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/LoadLocalFileIT.java rename to samples/snippets/src/test/java/com/example/bigquery/LoadLocalFileIT.java diff --git a/samples/src/test/java/com/example/bigquery/LoadParquetIT.java b/samples/snippets/src/test/java/com/example/bigquery/LoadParquetIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/LoadParquetIT.java rename to samples/snippets/src/test/java/com/example/bigquery/LoadParquetIT.java diff --git a/samples/src/test/java/com/example/bigquery/LoadParquetReplaceTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/LoadParquetReplaceTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/LoadParquetReplaceTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/LoadParquetReplaceTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/LoadPartitionedTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/LoadPartitionedTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/LoadPartitionedTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/LoadPartitionedTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/LoadTableClusteredIT.java b/samples/snippets/src/test/java/com/example/bigquery/LoadTableClusteredIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/LoadTableClusteredIT.java rename to samples/snippets/src/test/java/com/example/bigquery/LoadTableClusteredIT.java diff --git a/samples/src/test/java/com/example/bigquery/NestedRepeatedSchemaIT.java b/samples/snippets/src/test/java/com/example/bigquery/NestedRepeatedSchemaIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/NestedRepeatedSchemaIT.java rename to samples/snippets/src/test/java/com/example/bigquery/NestedRepeatedSchemaIT.java diff --git a/samples/src/test/java/com/example/bigquery/QueryClusteredTableIT.java b/samples/snippets/src/test/java/com/example/bigquery/QueryClusteredTableIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/QueryClusteredTableIT.java rename to samples/snippets/src/test/java/com/example/bigquery/QueryClusteredTableIT.java diff --git a/samples/src/test/java/com/example/bigquery/QueryWithNamedParametersIT.java b/samples/snippets/src/test/java/com/example/bigquery/QueryWithNamedParametersIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/QueryWithNamedParametersIT.java rename to samples/snippets/src/test/java/com/example/bigquery/QueryWithNamedParametersIT.java diff --git a/samples/src/test/java/com/example/bigquery/QueryWithPositionalParametersIT.java b/samples/snippets/src/test/java/com/example/bigquery/QueryWithPositionalParametersIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/QueryWithPositionalParametersIT.java rename to samples/snippets/src/test/java/com/example/bigquery/QueryWithPositionalParametersIT.java diff --git a/samples/src/test/java/com/example/bigquery/QuickstartSampleIT.java b/samples/snippets/src/test/java/com/example/bigquery/QuickstartSampleIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/QuickstartSampleIT.java rename to samples/snippets/src/test/java/com/example/bigquery/QuickstartSampleIT.java diff --git a/samples/src/test/java/com/example/bigquery/RelaxColumnModeIT.java b/samples/snippets/src/test/java/com/example/bigquery/RelaxColumnModeIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/RelaxColumnModeIT.java rename to samples/snippets/src/test/java/com/example/bigquery/RelaxColumnModeIT.java diff --git a/samples/src/test/java/com/example/bigquery/RelaxTableQueryIT.java b/samples/snippets/src/test/java/com/example/bigquery/RelaxTableQueryIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/RelaxTableQueryIT.java rename to samples/snippets/src/test/java/com/example/bigquery/RelaxTableQueryIT.java diff --git a/samples/src/test/java/com/example/bigquery/RunLegacyQueryIT.java b/samples/snippets/src/test/java/com/example/bigquery/RunLegacyQueryIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/RunLegacyQueryIT.java rename to samples/snippets/src/test/java/com/example/bigquery/RunLegacyQueryIT.java diff --git a/samples/src/test/java/com/example/bigquery/SimpleAppIT.java b/samples/snippets/src/test/java/com/example/bigquery/SimpleAppIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/SimpleAppIT.java rename to samples/snippets/src/test/java/com/example/bigquery/SimpleAppIT.java diff --git a/samples/src/test/java/com/example/bigquery/TableInsertRowsIT.java b/samples/snippets/src/test/java/com/example/bigquery/TableInsertRowsIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/TableInsertRowsIT.java rename to samples/snippets/src/test/java/com/example/bigquery/TableInsertRowsIT.java diff --git a/samples/src/test/java/com/example/bigquery/UpdateDatasetAccessIT.java b/samples/snippets/src/test/java/com/example/bigquery/UpdateDatasetAccessIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/UpdateDatasetAccessIT.java rename to samples/snippets/src/test/java/com/example/bigquery/UpdateDatasetAccessIT.java diff --git a/samples/src/test/java/com/example/bigquery/UpdateDatasetDescriptionIT.java b/samples/snippets/src/test/java/com/example/bigquery/UpdateDatasetDescriptionIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/UpdateDatasetDescriptionIT.java rename to samples/snippets/src/test/java/com/example/bigquery/UpdateDatasetDescriptionIT.java diff --git a/samples/src/test/java/com/example/bigquery/UpdateDatasetExpirationIT.java b/samples/snippets/src/test/java/com/example/bigquery/UpdateDatasetExpirationIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/UpdateDatasetExpirationIT.java rename to samples/snippets/src/test/java/com/example/bigquery/UpdateDatasetExpirationIT.java diff --git a/samples/src/test/java/com/example/bigquery/UpdateTableExpirationIT.java b/samples/snippets/src/test/java/com/example/bigquery/UpdateTableExpirationIT.java similarity index 100% rename from samples/src/test/java/com/example/bigquery/UpdateTableExpirationIT.java rename to samples/snippets/src/test/java/com/example/bigquery/UpdateTableExpirationIT.java diff --git a/samples/snippets/src/test/resources/bigquery_noheader.csv b/samples/snippets/src/test/resources/bigquery_noheader.csv new file mode 100644 index 000000000..2e6059952 --- /dev/null +++ b/samples/snippets/src/test/resources/bigquery_noheader.csv @@ -0,0 +1,1014 @@ +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +Gandalf,2000,140,true +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +Gandalf,2000,140,true +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,1,199.9,false +test,0,199.9,false +test,0,199.9,false +test,2,199.9,false +test,4,199.9,false +test,2,199.9,false +test,1,199.9,false +test,1,199.9,false +test,1,199.9,false +test,2,199.9,false +test,1,199.9,false +test,0,199.9,false +test,2,199.9,false +test,2,199.9,false +test,0,199.9,false +test,2,199.9,false +test,0,199.9,false +test,4,199.9,false +test,2,199.9,false +test,0,199.9,false +test,3,199.9,false +test,3,199.9,false +test,4,199.9,false +test,4,199.9,false +test,4,199.9,false +test,0,199.9,false +test,3,199.9,false +test,1,199.9,false +test,3,199.9,false +test,3,199.9,false +test,1,199.9,false +test,2,199.9,false +test,3,199.9,false +test,4,199.9,false +test,4,199.9,false +test,1,199.9,false +test,4,199.9,false +test,0,199.9,false +test,2,199.9,false +test,0,199.9,false +test,3,199.9,false +test,4,199.9,false +test,1,199.9,false +test,3,199.9,false +test,1,199.9,false +test,0,199.9,false +test,3,199.9,false +test,3,199.9,false +test,0,199.9,false +test,4,199.9,false +test,1,199.9,false +test,2,199.9,false +test,1,199.9,false +test,1,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,199.9,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,1,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,3,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,1,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,1,100,false +test,1,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,3,100,false +test,1,100,false +test,3,100,false +test,3,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,0,100,false +test,2,100,false +test,0,100,false +test,0,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,2,100,false +test,2,100,false +test,3,100,false +test,1,100,false +test,0,100,false +test,3,100,false +test,0,100,false +test,1,100,false +test,2,100,false +test,0,100,false +test,0,100,false +Gandalf,2000,140,true diff --git a/synth.py b/synth.py index d7679c03d..37ed33679 100644 --- a/synth.py +++ b/synth.py @@ -20,7 +20,6 @@ java.common_templates(excludes=[ 'README.md', - 'samples/*', '.kokoro/continuous/java8-samples.cfg', '.kokoro/continuous/java11-samples.cfg', '.kokoro/nightly/java8-samples.cfg',