Remove SOURCE keyword by parsing as an identifier and checking the value

Reverts "IMPALA-1033: Remove SOURCE keyword; very common identifier"

Change-Id: I3fcf6d02786e00287b564cff0a823d0c19504e7a
This commit is contained in:
Matthew Jacobs
2014-06-30 14:32:44 -07:00
parent 630d90392e
commit 65c1a6f21e
12 changed files with 198 additions and 136 deletions

View File

@@ -16,8 +16,8 @@
USE functional;
DROP DATASOURCE IF EXISTS AllTypesDataSource;
CREATE DATASOURCE AllTypesDataSource
DROP DATA SOURCE IF EXISTS AllTypesDataSource;
CREATE DATA SOURCE AllTypesDataSource
LOCATION '/test-warehouse/data-sources/test-data-source.jar'
CLASS 'com.cloudera.impala.extdatasource.AllTypesDataSource'
API_VERSION 'V1';
@@ -39,4 +39,4 @@ CREATE TABLE alltypes_datasource (
dec_col3 DECIMAL(20,10),
dec_col4 DECIMAL(38,37),
dec_col5 DECIMAL(10,5))
PRODUCED BY DATASOURCE AllTypesDataSource("TestInitString");
PRODUCED BY DATA SOURCE AllTypesDataSource("TestInitString");