agentzh / cheater Goto Github PK
View Code? Open in Web Editor NEWA tool and a language that help generating random complex database instance based on predefined rules
A tool and a language that help generating random complex database instance based on predefined rules
Hey, Yichun
Thanks for this awesome tool.
What do you think of loading an array from an external file?
So instead of this:
table users(
id serial;
nickname text {'john','jen','adams'} not null;
)
It becomes something like this
table users(
id serial;
nickname text load(a_very_long_list_of_nicknames.txt) not null;
)
make test时,会报
Can't locate Cheater/Parser.pm in @inc
在lib下也并不存在该文件。
Hi there, I'm trying out this code. Seems interesting!
Is the Cheater::Parser
module perhaps missing?
This is what I get trying to run the scripts in bin
:
$ PERL5LIB=../lib ./cht-compile ../samples/company.cht
Can't locate Cheater/Parser.pm in @INC (@INC contains: lib ../lib /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ../lib/Cheater.pm line 3.
BEGIN failed--compilation aborted at ../lib/Cheater.pm line 3.
Compilation failed in require at ./cht-compile line 8.
BEGIN failed--compilation aborted at ./cht-compile line 8.
I'd love to see some functionality where I could specify the cardinality of a column and Cheater would generate data with roughly the same cardinality.
I'm looking to use an existing mysql database to create .cht files from which random data can be generated. Is there an existing way to do this? I'm starting a script now that will work and, if there's not an existing method, I'll upload in as something you can include in the package?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.