@dataform/core
Advanced tools
Comparing version 0.0.2-beta.4 to 0.0.2-beta.5
@@ -14,2 +14,3 @@ import * as protos from "@dataform/protos"; | ||
createOrReplaceView(target: protos.ITarget, query: string): string; | ||
dropIfExists(target: protos.ITarget, type: string): string; | ||
} |
@@ -53,4 +53,7 @@ "use strict"; | ||
} | ||
dropIfExists(target, type) { | ||
return `drop ${this.baseTableType(type)} if exists ${this.resolveTarget(target)}`; | ||
} | ||
} | ||
exports.BigQueryAdapter = BigQueryAdapter; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmlncXVlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb3JlL2FkYXB0ZXJzL2JpZ3F1ZXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMkNBQTJDO0FBRTNDLGlDQUFpQztBQUNqQyxvQ0FBdUM7QUFFdkMsTUFBYSxlQUFnQixTQUFRLGNBQU87SUFHMUMsWUFBWSxPQUE4QjtRQUN4QyxLQUFLLEVBQUUsQ0FBQztRQUNSLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO0lBQ3pCLENBQUM7SUFFRCxhQUFhLENBQUMsTUFBc0I7UUFDbEMsT0FBTyxLQUFLLElBQUksQ0FBQyxPQUFPLENBQUMsZUFBZSxDQUFDLENBQUMsQ0FBQyxHQUFHLElBQUksQ0FBQyxPQUFPLENBQUMsZUFBZSxHQUFHLENBQUMsQ0FBQyxDQUFDLEVBQUUsR0FBRyxNQUFNLENBQUMsTUFBTTtZQUNoRyxJQUFJLENBQUMsT0FBTyxDQUFDLGFBQWEsSUFBSSxNQUFNLENBQUMsSUFBSSxJQUFJLENBQUM7SUFDbEQsQ0FBQztJQUVELFlBQVksQ0FBQyxDQUFnQixFQUFFLFNBQTRCLEVBQUUsYUFBb0M7UUFDL0YsSUFBSSxLQUFLLEdBQUcsYUFBSyxDQU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QUFDO0lBRUQsWUFBWSxDQUFDLE1BQXNCLEVBQUUsSUFBWTtRQUMvQyxPQUFPLFFBQVEsSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsY0FBYyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7SUFDcEYsQ0FBQztDQUNGO0FBaEVELDBDQWdFQyJ9 |
@@ -7,2 +7,3 @@ import * as protos from "@dataform/protos"; | ||
assertTasks(assertion: protos.IAssertion, projectConfig: protos.IProjectConfig): Tasks; | ||
dropIfExists(target: protos.ITarget, type: string): string; | ||
} | ||
@@ -9,0 +10,0 @@ export interface AdapterConstructor<T extends IAdapter> { |
@@ -21,2 +21,2 @@ "use strict"; | ||
register("snowflake", snowflake_1.SnowflakeAdapter); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb3JlL2FkYXB0ZXJzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EseUNBQTZDO0FBQzdDLHlDQUE2QztBQUM3QywyQ0FBK0M7QUFjL0MsTUFBTSxRQUFRLEdBQThELEVBQUUsQ0FBQztBQUUvRSxTQUFnQixRQUFRLENBQUMsYUFBcUIsRUFBRSxDQUErQjtJQUM3RSxRQUFRLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQzlCLENBQUM7QUFGRCw0QkFFQztBQUVELFNBQWdCLE1BQU0sQ0FBQyxhQUFvQztJQUN6RCxJQUFJLENBQUMsUUFBUSxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsRUFBRTtRQUN0QyxNQUFNLEtBQUssQ0FBQywwQkFBMEIsYUFBYSxDQUFDLFNBQVMsRUFBRSxDQUFDLENBQUM7S0FDbEU7SUFDRCxPQUFPLElBQUksUUFBUSxDQUF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DQUFDLFVBQVUsRUFBRSwwQkFBZSxDQUFDLENBQUM7QUFDdEMsUUFBUSxDQUFDLFdBQVcsRUFBRSw0QkFBZ0IsQ0FBQyxDQUFDIn0= |
@@ -14,2 +14,3 @@ import * as protos from "@dataform/protos"; | ||
createTable(t: protos.ITable, target: protos.ITarget): string; | ||
dropIfExists(target: protos.ITarget, type: string): string; | ||
} |
@@ -78,4 +78,7 @@ "use strict"; | ||
} | ||
dropIfExists(target, type) { | ||
return `drop ${this.baseTableType(type)} if exists ${this.resolveTarget(target)} cascade`; | ||
} | ||
} | ||
exports.RedshiftAdapter = RedshiftAdapter; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVkc2hpZnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb3JlL2FkYXB0ZXJzL3JlZHNoaWZ0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsMkNBQTJDO0FBRTNDLGlDQUFpQztBQUNqQyxvQ0FBdUM7QUFFdkMsTUFBYSxlQUFnQixTQUFRLGNBQU87SUFHMUMsWUFBWSxPQUE4QjtRQUN4QyxLQUFLLEVBQUUsQ0FBQztRQUNSLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxDQUFDO0lBQ3pCLENBQUM7SUFFRCxhQUFhLENBQUMsTUFBc0I7UUFDbEMsT0FBTyxJQUFJLE1BQU0sQ0FBQyxNQUFNLElBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxhQUFhLE1BQU0sTUFBTSxDQUFDLElBQUksR0FBRyxDQUFDO0lBQzdFLENBQUM7SUFFRCxZQUFZLENBQUMsQ0FBZ0IsRUFBRSxTQUE0QixFQUFFLGFBQW9DO1FBQy9GLElBQUksS0FBSyxHQUFHLGFBQUssQ0FBQyxNQUFNLEVBQUUsQ0FBQztRQUUzQixJQUFJLGFBQWEsSUFBSSxhQUFhLENBQUMsSUFBSS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S0FBSyxPQUFPLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztTQUNqQztRQUVELE9BQU8sZ0JBQWdCLElBQUksQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDO0lBQ3BFLENBQUM7SUFFRCxZQUFZLENBQUMsTUFBc0IsRUFBRSxJQUFZO1FBQy9DLE9BQU8sUUFBUSxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxjQUFjLElBQUksQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLFVBQVUsQ0FBQztJQUM1RixDQUFDO0NBQ0Y7QUEzRkQsMENBMkZDIn0= |
@@ -5,6 +5,4 @@ export declare function compile(code: string, path: string): string; | ||
export declare function compileAssertionSql(code: string, path: string): string; | ||
export declare function extractJsBlocks(code: string): { | ||
sql: string; | ||
js: string; | ||
}; | ||
export declare function captureSingleBackticks(str: string): string; | ||
export declare function getJSCode(code: string): string; | ||
export declare function getFunctionPropertyNames(prototype: any): string[]; |
104
compilers.js
@@ -21,54 +21,74 @@ "use strict"; | ||
function compileTableSql(code, path) { | ||
var { sql, js } = extractJsBlocks(code); | ||
var functionsBindings = getFunctionPropertyNames(table_1.TableContext.prototype).map(name => `const ${name} = !!ctx.${name} ? ctx.${name}.bind(ctx) : () => "";`); | ||
return ` | ||
const publish = global.publish || global.materialize; | ||
publish("${utils.baseFilename(path)}").query(ctx => { | ||
${functionsBindings.join("\n")} | ||
${js} | ||
return \`${sql}\`; | ||
})`; | ||
const parsedCode = getJSCode(code); | ||
return `const publish = global.publish || global.materialize; publish("${utils.baseFilename(path)}").query(ctx => {${functionsBindings.join(" ")} ${parsedCode} })`; | ||
} | ||
exports.compileTableSql = compileTableSql; | ||
function compileOperationSql(code, path) { | ||
var { sql, js } = extractJsBlocks(code); | ||
var functionsBindings = getFunctionPropertyNames(operation_1.OperationContext.prototype).map(name => `const ${name} = !!ctx.${name} ? ctx.${name}.bind(ctx) : () => "";`); | ||
return ` | ||
operate("${utils.baseFilename(path)}").queries(ctx => { | ||
${functionsBindings.join("\n")} | ||
${js} | ||
return \`${sql}\`.split("\\n---\\n"); | ||
})`; | ||
const functionsBindings = getFunctionPropertyNames(operation_1.OperationContext.prototype).map(name => `const ${name} = !!ctx.${name} ? ctx.${name}.bind(ctx) : () => "";`); | ||
const parsedCode = getJSCode(code); | ||
return `operate("${utils.baseFilename(path)}").queries(ctx => {${functionsBindings.join("\n")} ${parsedCode}.split("\\n---\\n"); })`; | ||
} | ||
exports.compileOperationSql = compileOperationSql; | ||
function compileAssertionSql(code, path) { | ||
var { sql, js } = extractJsBlocks(code); | ||
var functionsBindings = getFunctionPropertyNames(assertion_1.AssertionContext.prototype).map(name => `const ${name} = !!ctx.${name} ? ctx.${name}.bind(ctx) : () => "";`); | ||
return ` | ||
assert("${utils.baseFilename(path)}").query(ctx => { | ||
${functionsBindings.join("\n")} | ||
${js} | ||
return \`${sql}\`; | ||
})`; | ||
const functionsBindings = getFunctionPropertyNames(assertion_1.AssertionContext.prototype).map(name => `const ${name} = !!ctx.${name} ? ctx.${name}.bind(ctx) : () => "";`); | ||
const parsedCode = getJSCode(code); | ||
return `assert("${utils.baseFilename(path)}").query(ctx => {${functionsBindings.join("\n")} ${parsedCode} })`; | ||
} | ||
exports.compileAssertionSql = compileAssertionSql; | ||
function extractJsBlocks(code) { | ||
const JS_REGEX = /\/\*[jJ][sS][\r\n]+((?:[^*]|[\r\n]|(?:\*+(?:[^*/]|[\r\n])))*)\*+\/|\-\-[jJ][sS]\s(.*)/g; | ||
function captureSingleBackticks(str) { | ||
const RAW_BACKTICKS_REGEX = /([^\\])`/g; | ||
var jsBlocks = []; | ||
var cleanSql = code | ||
.replace(JS_REGEX, (_, group1, group2) => { | ||
if (group1) | ||
jsBlocks.push(group1); | ||
if (group2) | ||
jsBlocks.push(group2); | ||
return ""; | ||
}) | ||
.replace(RAW_BACKTICKS_REGEX, (_, group1) => group1 + "\\`"); | ||
return { | ||
sql: cleanSql.trim(), | ||
js: jsBlocks.map(block => block.trim()).join("\n") | ||
}; | ||
return str.replace(RAW_BACKTICKS_REGEX, (_, group1) => group1 + "\\`"); | ||
} | ||
exports.extractJsBlocks = extractJsBlocks; | ||
exports.captureSingleBackticks = captureSingleBackticks; | ||
function getJSCode(code) { | ||
const arr = code.split(/\n/); | ||
const result = []; | ||
let isJSBlock = false; | ||
let isCommentBlock = false; | ||
let isSQLBlock = false; | ||
arr.forEach((line, i) => { | ||
const str = line.trim(); | ||
if (str.toLowerCase().startsWith("/*js")) { | ||
isJSBlock = true; | ||
isSQLBlock = false; | ||
result.push(str.slice(4).trim()); | ||
} | ||
else if (isJSBlock && !str.endsWith("*/")) { | ||
result.push(str); | ||
} | ||
else if (isJSBlock && str.endsWith("*/")) { | ||
isJSBlock = false; | ||
result.push(str.slice(0, -2).trim()); | ||
} | ||
else if (str.startsWith("/*")) { | ||
isCommentBlock = true; | ||
isSQLBlock = false; | ||
isJSBlock = false; | ||
result.push(""); | ||
} | ||
else if (isCommentBlock) { | ||
isCommentBlock = !str.endsWith("*/"); | ||
result.push(""); | ||
} | ||
else if (str.toLowerCase().startsWith("--js")) { | ||
isSQLBlock = false; | ||
result.push(str.slice(4).trim()); | ||
} | ||
else if ((!isSQLBlock && (str.startsWith("--") || str === "")) || | ||
(isSQLBlock && str === "" && arr.length - 1 === i)) { | ||
result.push(""); | ||
} | ||
else { | ||
if (!isSQLBlock) { | ||
isSQLBlock = true; | ||
isJSBlock = false; | ||
} | ||
const sql = captureSingleBackticks(str); | ||
result.push(`sqlBlocks.push(\`${sql}\`);`); | ||
} | ||
}); | ||
return " let sqlBlocks = []; " + result.join("\n") + ' return sqlBlocks.filter(item => item !== "").join("\\n")'; | ||
} | ||
exports.getJSCode = getJSCode; | ||
function getFunctionPropertyNames(prototype) { | ||
@@ -81,2 +101,2 @@ return Object.getOwnPropertyNames(prototype).filter(function (e, i, arr) { | ||
exports.getFunctionPropertyNames =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JQUFJLEdBQUcsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLElBQUksT0FBTyxTQUFTLENBQUMsQ0FBQyxDQUFDLElBQUksVUFBVTtZQUFFLE9BQU8sSUFBSSxDQUFDO0lBQ3hFLENBQUMsQ0FBQyxDQUFDO0FBQ0wsQ0FBQztBQUpELDREQUlDIn0= |
{ | ||
"name": "@dataform/core", | ||
"version": "0.0.2-beta.4", | ||
"version": "0.0.2-beta.5", | ||
"description": "Dataform core API.", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@dataform/protos": "^0.0.2-beta.4", | ||
"@dataform/protos": "^0.0.2-beta.5", | ||
"protobufjs": "^6.8.8" | ||
@@ -15,3 +15,3 @@ }, | ||
}, | ||
"gitHead": "f885517b48eca984a0246f579aae181e94758992" | ||
"gitHead": "f78defbe6da725d4b5f4c35b1a264b371d67fc39" | ||
} |
@@ -30,3 +30,3 @@ import * as protos from "@dataform/protos"; | ||
validationError(message: string): void; | ||
compileError(message: string, path?: string): void; | ||
compileError(err: Error, path?: string): void; | ||
compileGraphChunk(part: { | ||
@@ -33,0 +33,0 @@ [name: string]: Table | Operation | Assertion; |
@@ -104,5 +104,5 @@ "use strict"; | ||
} | ||
compileError(message, path) { | ||
compileError(err, path) { | ||
const fileName = path || utils.getCallerFile(this.rootDir) || __filename; | ||
const compileError = protos.CompileError.create({ fileName, message }); | ||
const compileError = protos.CompileError.create({ stack: err.stack, fileName, message: err.message }); | ||
this.compileErrors.push(compileError); | ||
@@ -118,3 +118,3 @@ } | ||
catch (e) { | ||
this.compileError(e.message, part[key].proto.fileName); | ||
this.compileError(e, part[key].proto.fileName); | ||
} | ||
@@ -178,2 +178,2 @@ }); | ||
exports.Session = Session; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Vzc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2NvcmUvc2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