Synthesizing SQL queries from input / output examples
Java
47
185 commits
updated Nov 18, 2020
Scythe is a program synthesis tool that synthesizes sql queries from input-output examples. Scythe takes in 1) input examples: a set of input tables, 2) an output table and 3) description of which constants or aggregators to be used, and returns a list of SQL queries synthesized from these inputs.
Here are the steps to run the tool on an input-output example.
java -jar Scythe.jar path/to/the/example/file StagedEnumerator
In this command, "path/to/the/example/file" refers to your example file, option "StagedEnumerator" referes to the synthesizer used in synthesis.
185 commits
Java
82.7%
Python
14.5%
Roff
2.7%
Synthesizing SQL queries from input / output examples
Java
47
185 commits
updated Nov 18, 2020
Scythe is a program synthesis tool that synthesizes sql queries from input-output examples. Scythe takes in 1) input examples: a set of input tables, 2) an output table and 3) description of which constants or aggregators to be used, and returns a list of SQL queries synthesized from these inputs.
Here are the steps to run the tool on an input-output example.
java -jar Scythe.jar path/to/the/example/file StagedEnumerator
In this command, "path/to/the/example/file" refers to your example file, option "StagedEnumerator" referes to the synthesizer used in synthesis.
185 commits
Java
82.7%
Python
14.5%
Roff
2.7%