mirror of
https://github.com/apache/impala.git
synced 2026-01-04 09:00:56 -05:00
The SOURCE keyword was introduced for DATA SOURCE ddl commands, but it is also a very common identifier. This removes the SOURCE and SOURCES keywords and instead uses DATASOURCE and DATASOURCES. Change-Id: Ic6c2897d1e23efa169aa8787752fe4aa2bb125d5 Reviewed-on: http://gerrit.ent.cloudera.com:8080/2895 Reviewed-by: Matthew Jacobs <mj@cloudera.com> Tested-by: jenkins (cherry picked from commit 267c13f9b46d249bfd1b8711fd3fadf6853dc1ef)
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
====
|
|
---- QUERY
|
|
# Test show datasources
|
|
show datasources
|
|
---- 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 datasources 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 datasources 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 datasources like 'not_a_data_src'
|
|
---- RESULTS
|
|
---- LABELS
|
|
NAME, LOCATION, CLASS NAME, API VERSION
|
|
---- TYPES
|
|
STRING, STRING, STRING, STRING
|
|
====
|