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

francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d918ac  [CALCITE-2436] Steps for building site under Windows, 
misprint fix in SQL Language page
5d918ac is described below

commit 5d918acbb0efbf1d1671f034529bdc56a97cb5f8
Author: snuyanzin <[email protected]>
AuthorDate: Wed Aug 1 17:15:40 2018 +0300

    [CALCITE-2436] Steps for building site under Windows, misprint fix in SQL 
Language page
---
 site/README.md          | 4 ++++
 site/_docs/reference.md | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/site/README.md b/site/README.md
index cee5aa2..662ca86 100644
--- a/site/README.md
+++ b/site/README.md
@@ -33,7 +33,9 @@ Site generation currently works best with ruby-2.5.1.
 1. `cd site`
 2. `svn co https://svn.apache.org/repos/asf/calcite/site target`
 3. `sudo apt-get install rubygems ruby2.5-dev zlib1g-dev` (linux)
+   `Use RubyInstaller to install rubygems as recommended at 
https://www.ruby-lang.org/en/downloads/` (Windows)
 4. `sudo gem install bundler`
+   `gem install bundler` (Windows)
 5. `bundle install`
 
 ### Add javadoc
@@ -41,7 +43,9 @@ Site generation currently works best with ruby-2.5.1.
 1. `cd ..`
 2. `mvn -DskipTests site`
 3. `rm -rf site/target/apidocs site/target/testapidocs`
+   `rmdir site\target\apidocs site\target\testapidocs /S /Q` (Windows)
 4. `mv target/site/apidocs target/site/testapidocs site/target`
+   `for /d %a in (target\site\apidocs* target\site\testapidocs*) do move %a 
site\target` (Windows)
 
 ### Running locally
 
diff --git a/site/_docs/reference.md b/site/_docs/reference.md
index ab2f4f3..167693b 100644
--- a/site/_docs/reference.md
+++ b/site/_docs/reference.md
@@ -1580,7 +1580,7 @@ Not implemented:
 * LAST_VALUE(value) IGNORE NULLS OVER window
 * PERCENT_RANK(value) OVER window
 * CUME_DIST(value) OVER window
-* NTH_VALUE(value, nth) [ FROM { FIRST | LAST } ] IGNORE NULLS OVER window
+* NTH_VALUE(value, nth) [ FROM { FIRST &#124; LAST } ] IGNORE NULLS OVER window
 
 ### Grouping functions
 

Reply via email to