Files
impala/testdata/workloads/functional-query/queries/QueryTest/show-data-sources.test
Matthew Jacobs 65c1a6f21e Remove SOURCE keyword by parsing as an identifier and checking the value
Reverts "IMPALA-1033: Remove SOURCE keyword; very common identifier"

Change-Id: I3fcf6d02786e00287b564cff0a823d0c19504e7a
2014-06-30 16:47:47 -07:00

40 lines
1.3 KiB
Plaintext

====
---- QUERY
# Test show data sources
show data sources
---- RESULTS: VERIFY_IS_SUBSET
'show_test_ds1','/test-warehouse/data-sources/test-data-source.jar','com.cloudera.impala.extdatasource.AllTypesDataSource','V1'
'show_test_ds2','/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','/test-warehouse/data-sources/test-data-source.jar','com.cloudera.impala.extdatasource.AllTypesDataSource','V1'
'show_test_ds2','/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','/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
====