<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/sqltoalgebra/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 25 Jan 2015 01:39:58 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sqltoalgebra/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v65
+++ v66
@@ -1,6 +1,6 @@
 #SQLToAlgebra

-The following describes SQLToAlgebra 7.1.6.
+The following describes SQLToAlgebra 7.1.8.

 This tool allows translating SQL queries into equivalent relational algebra formulas. It implements the algorithm described in "Translating SQL into the Relational Algebra" by Jan Van den Bussche, Stijn Vansummeren. You may redistribute and/or modify SQLToAlgebra under the terms of the GNU GPLv3 license.

@@ -16,7 +16,7 @@

 ##Demo app

-After unpacking the binary distribution, you can try out the demo app. You can do it by running the `translate-ng-7.1.6.jar` program with no arguments. It will produce a graphical user interface window, where the user inputs the database schema and queries to create relational algebra and spreadsheet representations.
+After unpacking the binary distribution, you can try out the demo app. You can do it by running the `translate-ng-7.1.8.jar` program with no arguments. It will produce a graphical user interface window, where the user inputs the database schema and queries to create relational algebra and spreadsheet representations.

 ##Command line demo app

@@ -24,11 +24,11 @@

 First, generate a directory with a set of examples in `.sql` files. For example, to create the examples in the directory `./examples`, invoke:

-    java -jar translate-ng-7.1.6.jar -examples ./examples/
+    java -jar translate-ng-7.1.8.jar -examples ./examples/

 Now, you may edit the existing or add new examples in the directory. After you're done, translate them into relational algebra:

-    java -jar translate-ng-7.1.6.jar -dir ./examples/
+    java -jar translate-ng-7.1.8.jar -dir ./examples/

 The results will be stored in `./examples/.txt` and `.xlsx` files. The generated `.txt` files include the generated spreadsheet formulas. The first couple columns are filled with `=NA()` and represent columns, where the user will enter her data.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Sun, 25 Jan 2015 01:39:58 -0000</pubDate><guid>https://sourceforge.netb2635c0140a5ba8fd894402a51f4785c79f7a431</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v64
+++ v65
@@ -98,6 +98,8 @@

 The different spreadsheet columns in the generated file have different meaning. The leftmost columns represent the tables declared with the CREATE TABLE statements. This is where the user inputs data. The next couple couple columns, hidden by default, are intermediate results of computing the query results. And finally, the columns that are on the right of the user input data but are not hidden represent the resultant relations of the queries chosen by the user.

+The generated spreadsheet document has only two rows filled in. They are presented in the spreadsheet program with a "N/A!" text in gray. Those are workspace rows, where the user inputs data. To input more than two rows, the user must extend the workspace area. To do so, the user must select the second row (and only the second row, with care not to select the first row) and autofill it down. This can be done with key bindings by selecting an area spanning the second row and subsequent rows that are to be autofilled and executing the autofill with the Ctrl-D key binding.
+
 ###Examples

 This is an incomplete list of sql queries and equivalent relational algebra formulas. It references the database schema defined above.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Mon, 30 Jun 2014 12:02:28 -0000</pubDate><guid>https://sourceforge.net82e4dd3dfee52631d2594ce2bd4abb865c8eb020</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v63
+++ v64
@@ -96,7 +96,7 @@
         System.err.format("Error: could not write file '%s'\n", xlsxOutputPath);
     }

-The different spreadsheet columns in the generated file have different meaning. The leftmost columns represent the tables declared with the CREATE TABLE statements. This is where the user inputs data. The next couple couple columns, hidden by default, are intermediate results of computing the query results. And finally, the columns that are on the right of the user input data but which are not hidden represent the resultant relations of the queries chosen by the user.
+The different spreadsheet columns in the generated file have different meaning. The leftmost columns represent the tables declared with the CREATE TABLE statements. This is where the user inputs data. The next couple couple columns, hidden by default, are intermediate results of computing the query results. And finally, the columns that are on the right of the user input data but are not hidden represent the resultant relations of the queries chosen by the user.

 ###Examples

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Mon, 30 Jun 2014 11:59:22 -0000</pubDate><guid>https://sourceforge.nete87c49dd2a11c51d51fd58119e3ea2219bd3f992</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v62
+++ v63
@@ -96,7 +96,7 @@
         System.err.format("Error: could not write file '%s'\n", xlsxOutputPath);
     }

-The generated spreadsheet file starts with columns, where the user enters data. Next, there are columns, whose values are the results of running the chosen database queries expressed in relational algebra on the entered data.
+The different spreadsheet columns in the generated file have different meaning. The leftmost columns represent the tables declared with the CREATE TABLE statements. This is where the user inputs data. The next couple couple columns, hidden by default, are intermediate results of computing the query results. And finally, the columns that are on the right of the user input data but which are not hidden represent the resultant relations of the queries chosen by the user.

 ###Examples

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Mon, 30 Jun 2014 11:58:35 -0000</pubDate><guid>https://sourceforge.netdec6fa25bccc560b9611363cf944aab8eb33bc80</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v61
+++ v62
@@ -1,6 +1,6 @@
 #SQLToAlgebra

-The following describes SQLToAlgebra 7.1.5.
+The following describes SQLToAlgebra 7.1.6.

 This tool allows translating SQL queries into equivalent relational algebra formulas. It implements the algorithm described in "Translating SQL into the Relational Algebra" by Jan Van den Bussche, Stijn Vansummeren. You may redistribute and/or modify SQLToAlgebra under the terms of the GNU GPLv3 license.

@@ -16,7 +16,7 @@

 ##Demo app

-After unpacking the binary distribution, you can try out the demo app. You can do it by running the `translate-ng-7.1.5.jar` program with no arguments. It will produce a graphical user interface window, where the user inputs the database schema and queries to create relational algebra and spreadsheet representations.
+After unpacking the binary distribution, you can try out the demo app. You can do it by running the `translate-ng-7.1.6.jar` program with no arguments. It will produce a graphical user interface window, where the user inputs the database schema and queries to create relational algebra and spreadsheet representations.

 ##Command line demo app

@@ -24,11 +24,11 @@

 First, generate a directory with a set of examples in `.sql` files. For example, to create the examples in the directory `./examples`, invoke:

-    java -jar translate-ng-7.1.5.jar -examples ./examples/
+    java -jar translate-ng-7.1.6.jar -examples ./examples/

 Now, you may edit the existing or add new examples in the directory. After you're done, translate them into relational algebra:

-    java -jar translate-ng-7.1.5.jar -dir ./examples/
+    java -jar translate-ng-7.1.6.jar -dir ./examples/

 The results will be stored in `./examples/.txt` and `.xlsx` files. The generated `.txt` files include the generated spreadsheet formulas. The first couple columns are filled with `=NA()` and represent columns, where the user will enter her data.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Sat, 21 Jun 2014 17:20:11 -0000</pubDate><guid>https://sourceforge.net8771d8706af6c077b0c6f5fb7c5cef754e922b89</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v60
+++ v61
@@ -68,33 +68,33 @@

 You can translate the formula with:

-        Result r = translated.execute();
+    Result r = translated.execute();

 And access the result:

-        System.out.println("Implemented in excel:");
-        System.out.println("Result relations: " + r.getResultRelation().toString(Utils.getCaf()));
-        System.out.println("Formulas: " + r.getFormulas().toString(Utils.getCaf()));
+    System.out.println("Implemented in excel:");
+    System.out.println("Result relations: " + r.getResultRelation().toString(Utils.getCaf()));
+    System.out.println("Formulas: " + r.getFormulas().toString(Utils.getCaf()));

 ###Spreadsheet file generation

 To create a spreadsheet file in `.xlsx`:

-            import static output.ExcelFileFormulas.QUIET_LAYOUT;
-            import output.ExcelFileFormulas;
-
-
-            String xlsxOutputPath = ...;
-
-            try (
-                FileOutputStream out = new FileOutputStream(xlsxOutputPath);
-                ExcelFileFormulas excel = new ExcelFileFormulas(out)
-            )
-            {
-                excel.addResult(r, QUIET_LAYOUT);
-            } catch (FormulaParseException | IOException e) {
-                System.err.format("Error: could not write file '%s'\n", xlsxOutputPath);
-            }
+    import static output.ExcelFileFormulas.QUIET_LAYOUT;
+    import output.ExcelFileFormulas;
+            
+            
+    String xlsxOutputPath = ...;
+            
+    try (
+        FileOutputStream out = new FileOutputStream(xlsxOutputPath);
+        ExcelFileFormulas excel = new ExcelFileFormulas(out)
+    )
+    {
+        excel.addResult(r, QUIET_LAYOUT);
+    } catch (FormulaParseException | IOException e) {
+        System.err.format("Error: could not write file '%s'\n", xlsxOutputPath);
+    }

 The generated spreadsheet file starts with columns, where the user enters data. Next, there are columns, whose values are the results of running the chosen database queries expressed in relational algebra on the entered data.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Thu, 19 Jun 2014 13:40:09 -0000</pubDate><guid>https://sourceforge.nete1978caf775680e5fa70d575a7f604a3ee78499c</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v59
+++ v60
@@ -76,6 +76,28 @@
         System.out.println("Result relations: " + r.getResultRelation().toString(Utils.getCaf()));
         System.out.println("Formulas: " + r.getFormulas().toString(Utils.getCaf()));

+###Spreadsheet file generation
+
+To create a spreadsheet file in `.xlsx`:
+
+            import static output.ExcelFileFormulas.QUIET_LAYOUT;
+            import output.ExcelFileFormulas;
+
+
+            String xlsxOutputPath = ...;
+
+            try (
+                FileOutputStream out = new FileOutputStream(xlsxOutputPath);
+                ExcelFileFormulas excel = new ExcelFileFormulas(out)
+            )
+            {
+                excel.addResult(r, QUIET_LAYOUT);
+            } catch (FormulaParseException | IOException e) {
+                System.err.format("Error: could not write file '%s'\n", xlsxOutputPath);
+            }
+
+The generated spreadsheet file starts with columns, where the user enters data. Next, there are columns, whose values are the results of running the chosen database queries expressed in relational algebra on the entered data.
+
 ###Examples

 This is an incomplete list of sql queries and equivalent relational algebra formulas. It references the database schema defined above.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Thu, 19 Jun 2014 13:37:53 -0000</pubDate><guid>https://sourceforge.net6640908c3593f45d5bafe0b370040a0b1933b77d</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v58
+++ v59
@@ -16,7 +16,7 @@

 ##Demo app

-After unpacking the binary distribution, you can try out the demo app.
+After unpacking the binary distribution, you can try out the demo app. You can do it by running the `translate-ng-7.1.5.jar` program with no arguments. It will produce a graphical user interface window, where the user inputs the database schema and queries to create relational algebra and spreadsheet representations.

 ##Command line demo app

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Thu, 19 Jun 2014 13:31:25 -0000</pubDate><guid>https://sourceforge.net672f84eb51110f90104fdd4ea461a663444f2240</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v57
+++ v58
@@ -122,7 +122,7 @@

 You may find additional examples embedded in the [test suite](https://sourceforge.net/p/sqltoalgebra/code/ci/master/tree/translate-ng/src/test/java/adipe/translate/).

-###Further reading:
+###Further reading

 J. Tyszkiewicz. Spreadsheet As a Relational Database Engine. &amp;#91;in:] Proc. ACM SIGMOD International Conference on Management of Data, Indianapolis, 2010.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Thu, 19 Jun 2014 13:29:29 -0000</pubDate><guid>https://sourceforge.netf523a610aff6fb8540196f98936f590e559f15b3</guid></item><item><title>Home modified by Adrian Panasiuk</title><link>https://sourceforge.net/p/sqltoalgebra/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v56
+++ v57
@@ -125,7 +125,7 @@
 ###Further reading:

-J. Tyszkiewicz. Spreadsheet As a Relational Database Engine. [in:] Proc. ACM SIGMOD International Conference on Management of Data, Indianapolis, 2010.
+J. Tyszkiewicz. Spreadsheet As a Relational Database Engine. &amp;#91;in:] Proc. ACM SIGMOD International Conference on Management of Data, Indianapolis, 2010.

 J. Sroka, K.Stencel, J. Tyszkiewicz. Translating Relational Queries into Spreadsheets.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adrian Panasiuk</dc:creator><pubDate>Thu, 19 Jun 2014 13:29:07 -0000</pubDate><guid>https://sourceforge.netca3d0455e25caf80d5d6ceabc7640ae8c4b595c5</guid></item></channel></rss>