From 5a984acac6746e52f576f6afa87d9b162acfc186 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 7 Mar 2023 01:20:56 +0100 Subject: [PATCH 1/6] Create prqlc --- prqlc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 prqlc diff --git a/prqlc b/prqlc new file mode 100644 index 0000000..2c16342 --- /dev/null +++ b/prqlc @@ -0,0 +1,16 @@ +# PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement. + +# Run the compiler interactively: +prql compile + +# Compile a .prql file standard output: +prqlc compile file.prql + +# Compile a .prql file to a .sql file: +prqlc compile source.prql target.sql + +# Compile a query: +echo "from employees | filter has_dog | select salary" | prqlc compile + +# Watch a directory and compile on file modification +prqlc watch path/to/directory From 7824a090461decb390886e02e5756307e7572ead Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 7 Mar 2023 01:26:41 +0100 Subject: [PATCH 2/6] Update prqlc Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> --- prqlc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prqlc b/prqlc index 2c16342..308e2fc 100644 --- a/prqlc +++ b/prqlc @@ -1,7 +1,7 @@ # PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement. # Run the compiler interactively: -prql compile +prqlc compile # Compile a .prql file standard output: prqlc compile file.prql From eff57a0f50e4a31b0dda489d0758dc73efa5dd74 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 7 Mar 2023 01:35:45 +0100 Subject: [PATCH 3/6] Update prqlc --- prqlc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prqlc b/prqlc index 308e2fc..f8035cd 100644 --- a/prqlc +++ b/prqlc @@ -12,5 +12,5 @@ prqlc compile source.prql target.sql # Compile a query: echo "from employees | filter has_dog | select salary" | prqlc compile -# Watch a directory and compile on file modification +# Watch a directory and compile on file modification: prqlc watch path/to/directory From 82399df859446947f2f1a7fc83823e43489acbb9 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 7 Mar 2023 13:19:54 +0100 Subject: [PATCH 4/6] Update prqlc Co-authored-by: Emily Grace Seville --- prqlc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prqlc b/prqlc index f8035cd..b4e31fa 100644 --- a/prqlc +++ b/prqlc @@ -4,7 +4,7 @@ prqlc compile # Compile a .prql file standard output: -prqlc compile file.prql +prqlc compile # Compile a .prql file to a .sql file: prqlc compile source.prql target.sql From 38b3bcfe2300d4996213e7cdc0235cf0a81ac0ad Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 7 Mar 2023 13:20:12 +0100 Subject: [PATCH 5/6] Update prqlc Co-authored-by: Emily Grace Seville --- prqlc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prqlc b/prqlc index b4e31fa..8f64855 100644 --- a/prqlc +++ b/prqlc @@ -7,7 +7,7 @@ prqlc compile prqlc compile # Compile a .prql file to a .sql file: -prqlc compile source.prql target.sql +prqlc compile # Compile a query: echo "from employees | filter has_dog | select salary" | prqlc compile From 8dbfaff52fc76f8d4bef26623bff4f3cae5b6730 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 7 Mar 2023 13:22:00 +0100 Subject: [PATCH 6/6] Update prqlc Co-authored-by: Emily Grace Seville --- prqlc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prqlc b/prqlc index 8f64855..0501d02 100644 --- a/prqlc +++ b/prqlc @@ -13,4 +13,4 @@ prqlc compile echo "from employees | filter has_dog | select salary" | prqlc compile # Watch a directory and compile on file modification: -prqlc watch path/to/directory +prqlc watch