mirror of
https://github.com/apache/impala.git
synced 2026-01-02 03:00:32 -05:00
Add skip markers for S3 that can be used to categorize the tests that are skipped against S3 to help see what coverage is missing. Soon we'll be reworking some tests and/or adding new tests to get back the important gaps. Also, add a mechanism to parameterize paths in the .test files, and start using these new variables. This is a step toward enabling some more tests against S3. Finally, a fix for buildall.sh to stop the minicluster before applying the metastore snapshot. Otherwise, this fails since the ms db is in use. Change-Id: I142434ed67bed407e61d7b2c90f825734fc0dce0 Reviewed-on: http://gerrit.cloudera.org:8080/127 Reviewed-by: Dan Hecht <dhecht@cloudera.com> Tested-by: Internal Jenkins
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
====
|
|
---- QUERY
|
|
# Test show data sources
|
|
show data sources
|
|
---- RESULTS: VERIFY_IS_SUBSET
|
|
'show_test_ds1','$NAMENODE/test-warehouse/data-sources/test-data-source.jar','com.cloudera.impala.extdatasource.AllTypesDataSource','V1'
|
|
'show_test_ds2','$NAMENODE/test-warehouse/data-sources/test-data-source.jar','com.cloudera.impala.extdatasource.AllTypesDataSource','V1'
|
|
---- LABELS
|
|
NAME, LOCATION, CLASS NAME, API VERSION
|
|
---- TYPES
|
|
STRING, STRING, STRING, STRING
|
|
====
|
|
---- QUERY
|
|
show data sources like 'show_test_ds*'
|
|
---- RESULTS
|
|
'show_test_ds1','$NAMENODE/test-warehouse/data-sources/test-data-source.jar','com.cloudera.impala.extdatasource.AllTypesDataSource','V1'
|
|
'show_test_ds2','$NAMENODE/test-warehouse/data-sources/test-data-source.jar','com.cloudera.impala.extdatasource.AllTypesDataSource','V1'
|
|
---- LABELS
|
|
NAME, LOCATION, CLASS NAME, API VERSION
|
|
---- TYPES
|
|
STRING, STRING, STRING, STRING
|
|
====
|
|
---- QUERY
|
|
show data sources like 'show_test_ds1'
|
|
---- RESULTS
|
|
'show_test_ds1','$NAMENODE/test-warehouse/data-sources/test-data-source.jar','com.cloudera.impala.extdatasource.AllTypesDataSource','V1'
|
|
---- LABELS
|
|
NAME, LOCATION, CLASS NAME, API VERSION
|
|
---- TYPES
|
|
STRING, STRING, STRING, STRING
|
|
====
|
|
---- QUERY
|
|
show data sources like 'not_a_data_src'
|
|
---- RESULTS
|
|
---- LABELS
|
|
NAME, LOCATION, CLASS NAME, API VERSION
|
|
---- TYPES
|
|
STRING, STRING, STRING, STRING
|
|
====
|