lava-oushudb-dt-sql-parser/test/parser/hive/syntax/setConfigProperties.test.ts

17 lines
443 B
TypeScript
Raw Normal View History

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);
});
});
});