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