Closed mrblueblue closed 7 years ago
The goal of this feature is to expose the SQL writer as a module that can be extended by the user.
The user would be able to declare a new type of transform or expression by registering a "definition" of it, along with a function that parses it.
const writer = createSQLWriter() writer.registerParser(typeDef, parser) writer.writeSQL(DataState)
This would be the same writer module used internally by the graph instance.
graph
const graph = createGraph() graph.getWriter().registerParser(transformDef, parser)
fixed by https://github.com/mapd/mapd-data-layer/pull/23
The goal of this feature is to expose the SQL writer as a module that can be extended by the user.
The user would be able to declare a new type of transform or expression by registering a "definition" of it, along with a function that parses it.
This would be the same writer module used internally by the
graph
instance.