commit | bfed7d9f0c45e274236f4c2a6557b9379a78e2ba | [log] [tgz] |
---|---|---|
author | Julian Hyde <julianhyde@gmail.com> | Thu May 23 16:01:21 2013 -0700 |
committer | Julian Hyde <julianhyde@gmail.com> | Thu May 23 16:01:21 2013 -0700 |
tree | a5c326e2d1a4c888f8fece3e3f6f0556b3018623 | |
parent | 74b50b1fb11fac47e7cecdc60a73873ad4212114 [diff] |
Initial revision.
Optiq adapter that reads CSV files.
Optiq-csv is a nice simple example of how to connect Optiq to your own data source and quickly get a full SQL/JDBC interface.
You need Java (1.7 or higher) and maven (2 or higher).
$ git clone git://github.com/julianhyde/optiq-csv.git $ cd optiq-csv $ mvn compile
$ ./sqlline sqlline> connect jdbc:optiq:model=target/test-classes/model.json admin admin
You can also register a CsvSchema as a schema within an Optiq instance. Then you can combine with other data sources.
You can write a “vanity JDBC driver” with a different name.
You can add optimizer rules and new implementations of relational operators to execute queries more efficiently.