0e752fb9a8
* fix: #298 support hive set configuration properties * feat: simplify the hive syntax file
17 lines
443 B
TypeScript
17 lines
443 B
TypeScript
import { HiveSQL } from 'src/parser/hive';
|
|
import { readSQL } from 'test/helper';
|
|
|
|
const hive = new HiveSQL();
|
|
|
|
const features = {
|
|
setConfigProperties: readSQL(__dirname, 'setConfigProperties.sql'),
|
|
};
|
|
|
|
describe('HiveSQL Select Syntax Tests', () => {
|
|
features.setConfigProperties.forEach((configProperty) => {
|
|
it(configProperty, () => {
|
|
expect(hive.validate(configProperty).length).toBe(0);
|
|
});
|
|
});
|
|
});
|