mirror of
https://github.com/apache/impala.git
synced 2025-12-30 12:02:10 -05:00
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:
6
testdata/bin/create-data-source-table.sql
vendored
6
testdata/bin/create-data-source-table.sql
vendored
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user