You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2023/06/13 11:37:39 UTC

[groovy-website] branch asf-site updated: minor tweak

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 17c1a83  minor tweak
17c1a83 is described below

commit 17c1a83571cdb5d64ff70e3bea5dec3c821b5233
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Jun 13 21:37:24 2023 +1000

    minor tweak
---
 site/src/site/blog/groovy-dauphine.adoc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/site/src/site/blog/groovy-dauphine.adoc b/site/src/site/blog/groovy-dauphine.adoc
index 5d4bd85..87ee618 100644
--- a/site/src/site/blog/groovy-dauphine.adoc
+++ b/site/src/site/blog/groovy-dauphine.adoc
@@ -21,6 +21,9 @@ we looked at reading and writing CSV files using a number of CSV libraries. Toda
 https://duckdb.org/[DuckDB]
 which can read in CSV files on the fly.
 
+
+Our goal is very simple, just print out the information but grouped by each rider's country.
+
 [source,groovy]
 ----
 Sql.withInstance('jdbc:duckdb:', 'org.duckdb.DuckDBDriver') { sql ->
@@ -78,8 +81,8 @@ println GQ {
 }
 ----
 
-We could have used a CSV library to read in the data, but for this simple example
-we just used Groovy's line/text processing capabilities.
+We could use a CSV library to read in the data, but for this simple example
+we'll just use Groovy's line/text processing capabilities.
 GQuery doesn't currently have built in equivalents to `bar` or `string_agg`
 so we roll our own crude bar character function and aggregators, `aggRiders`
 and `aggPlaces`.