lava-oushudb-dt-sql-parser/test/parser/impala/syntax/delete.test.ts

19 lines
444 B
TypeScript
Raw Normal View History

import { ImpalaSQL } from '../../../filters';
import { readSQL } from '../../../helper';
const parser = new ImpalaSQL();
const features = {
deletes: readSQL(__dirname, 'delete.sql'),
};
describe('ImpalaSQL Delete Syntax Tests', () => {
describe('DELETE', () => {
features.deletes.forEach((db) => {
it(db, () => {
expect(parser.validate(db).length).toBe(0);
});
});
});
});