You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2018/07/09 00:47:37 UTC

incubator-griffin git commit: correct minor literal mistakes in doc

Repository: incubator-griffin
Updated Branches:
  refs/heads/master a41121aaf -> 6a973a3e9


correct minor literal mistakes in doc

Author: Eugene <to...@163.com>

Closes #338 from toyboxman/l1.


Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/6a973a3e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/6a973a3e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/6a973a3e

Branch: refs/heads/master
Commit: 6a973a3e945645279bec917852d533e919861f8a
Parents: a41121a
Author: Eugene <to...@163.com>
Authored: Mon Jul 9 08:47:31 2018 +0800
Committer: William Guo <gu...@apache.org>
Committed: Mon Jul 9 08:47:31 2018 +0800

----------------------------------------------------------------------
 griffin-doc/measure/dsl-guide.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/6a973a3e/griffin-doc/measure/dsl-guide.md
----------------------------------------------------------------------
diff --git a/griffin-doc/measure/dsl-guide.md b/griffin-doc/measure/dsl-guide.md
index 7370274..e3b26ab 100644
--- a/griffin-doc/measure/dsl-guide.md
+++ b/griffin-doc/measure/dsl-guide.md
@@ -41,11 +41,11 @@ Griffin DSL is SQL-like, case insensitive, and easy to learn.
 - `., [, ]`
 
 ### Literals
-- **string**: any string surrounded with a pair of " or ', with escape charactor \ if any request.  
+- **string**: any string surrounded with a pair of " or ', with escape character \ if any request.  
 	e.g. `"test"`, `'string 1'`, `"hello \" world \" "`
 - **number**: double or integer number.  
 	e.g. `123`, `33.5`
-- **time**: a integer with unit in a string, will be translated to a integer number in millisecond.  
+- **time**: an integer with unit in a string, will be translated to an integer number by millisecond.  
 	e.g. `3d`, `5h`, `4ms`
 - **boolean**: boolean value directly.  
 	e.g. `true`, `false`
@@ -228,4 +228,4 @@ Griffin engine runs on spark, it might work in two phases, pre-proc phase and ru
 After preparation, to support streaming DQ calculation, a timestamp column will be added in each row of data, so the data frame in run phase contains an extra column named "__tmst".  
 - **Run phase**: Griffin calculates with prepared data, to get the DQ metrics. In this phase, you can use griffin-dsl, spark-sql rules, and a part of df-opr rules.  
 For griffin-dsl rule, griffin translates it into spark-sql rule with a group-by condition for column "__tmst", it's useful for especially streaming DQ calculation.  
-But for spark-sql rule, griffin use it directly, you need to add the "__tmst" column in your spark-sql rule explicitly, or you can't get correct metrics result after calculation.
\ No newline at end of file
+But for spark-sql rule, griffin use it directly, you need to add the "__tmst" column in your spark-sql rule explicitly, or you can't get correct metrics result after calculation.