Skip to content

ZhengtongYan/sql-generation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Generation

Generate SQLs that satisfy target cost or cardinality constraints.

(1) Generate target point queries (cardinality=1000):

 python3 cal_time.py tpch card point 1000 1000

(2) Generate target range queries (cost in [1000, 2000]):

python3 cal_time.py tpch cost range 1000 1000 2000

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%