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

dzamo pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/drill.git

commit 383e6042ffc05e5bc625bc9cdcd2614824ac4440
Author: James Turton <[email protected]>
AuthorDate: Sun Jul 25 07:21:54 2021 +0200

    Fix typos in 2021-07-09 streaming REST data blog post.
---
 .../en/sql-reference/sql-functions/020-data-type-conversion.md | 10 +++++-----
 blog/_posts/en/2021-07-09-streaming-data-from-the-rest-api.md  |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/_docs/en/sql-reference/sql-functions/020-data-type-conversion.md 
b/_docs/en/sql-reference/sql-functions/020-data-type-conversion.md
index 93ab4a4..ac1b1b9 100644
--- a/_docs/en/sql-reference/sql-functions/020-data-type-conversion.md
+++ b/_docs/en/sql-reference/sql-functions/020-data-type-conversion.md
@@ -963,11 +963,11 @@ Drill does not support conversion of a date, time, or 
timestamp from one time zo
 
         SELECT TIMEOFDAY() FROM (VALUES(1));
 
-        |----------------------------------------------|
-        |                    EXPR$0                    |
-        |----------------------------------------------|
-        | 2015-05-17 22:37:57.082 America/Los_Angeles  |
-        |----------------------------------------------|
+        |-----------------------------|
+        |            EXPR$0           |
+        |-----------------------------|
+        | 2015-05-17 14:37:57.082 UTC |
+        |-----------------------------|
         1 row selected (0.087 seconds)
 
 You can use the ā€˜z’ option to identify the time zone in TO_TIMESTAMP to make 
sure the timestamp has the timezone in it. Also, use the ā€˜z’ option to identify 
the time zone in a timestamp using the TO_CHAR function. For example:
diff --git a/blog/_posts/en/2021-07-09-streaming-data-from-the-rest-api.md 
b/blog/_posts/en/2021-07-09-streaming-data-from-the-rest-api.md
index 3454e9d..5d0afe7 100644
--- a/blog/_posts/en/2021-07-09-streaming-data-from-the-rest-api.md
+++ b/blog/_posts/en/2021-07-09-streaming-data-from-the-rest-api.md
@@ -1,6 +1,6 @@
 ---
 layout: post
-title: "Streaming data from Drill REST API"
+title: "Streaming data from the Drill REST API"
 code: streaming-data-from-the-drill-rest-api
 excerpt: The release of Apache Drill 1.19 saw a major change under the hood of 
Drill's REST API with the introduction of a streaming data path for query 
results moving from Drill and over the network to the initiating client.  The 
result is better memory utilisation, less blocking and a more reliable API.
 
@@ -9,7 +9,7 @@ authors: ["jturton"]
 
 Anyone who's used a UNIX pipe, or even just watched something on Netflix, is 
at least a little familiar with the idea of processing data in a streaming 
fashion.  While your data are small in size compared to available memory and 
I/O speeds, streaming is something you can afford to dispense with.  But when 
you cannot fit an entire dataset in RAM, or when you have to download an entire 
4K movie before you can start playing it, then streaming data processing can 
make a game changing difference.
 
-With the release of version 1.19, Drill will stream JSON query result data 
over an HTTP response to the client that initiated the query using the REST 
API.  And if anything can easily get big compared to your available RAM or 
network speed, it's query results coming back from Drill.  It's important to 
note here that JSON over HTTP is never going to be the most _efficient_ way to 
move big data around[^1].  JDBC, ODBC and [innovations around 
them](https://uwekorn.com/2019/11/17/fast-jdbc-a [...]
+With the release of version 1.19, Drill will stream JSON query result data 
over an HTTP response to the client that initiated the query using the REST 
API.  And if anything can easily get big compared to your available RAM or 
network speed, it's query results coming back from Drill.  It's important to 
note here that JSON over HTTP is never going to be the most _efficient_ way to 
move big data around[^1].  JDBC, ODBC and [innovations around 
them](https://uwekorn.com/2019/11/17/fast-jdbc-a [...]
 
 Where JSON and HTTP _do_ win is universality: today it's hard to imagine a 
client hardware and software stack that doesn't provide JSON and HTTP out of 
the box with minimal effort.  So it's important that they work as well as is 
possible, in spite of the alternatives that exist.  The new streaming query 
results delivery on the server side means that Drill's heap memory isn't 
pressurised by having to buffer entire result sets before it starts to transmit 
them over the network.  Even exist [...]
 

Reply via email to