-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(hive): upgrade to 0.8.0 with QueryBuilderSpec and Tokenizer
- Loading branch information
1 parent
71de582
commit 6c961ec
Showing
4 changed files
with
754 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"identifier": "`?`", | ||
"stringLiteral": "'?'", | ||
"aggregation": { | ||
"CHAR,VARCHAR,LONGVARCHAR,DATE,TIME,TIMESTAMP": { | ||
"count": "count(?)", | ||
"countDistinct": "count(distinct ?)" | ||
}, | ||
"TINYINT,SMALLINT,INTEGER,BIGINT,FLOAT,REAL,DOUBLE,NUMERIC,DECIMAL": { | ||
"sum": "sum(?)", | ||
"avg": "avg(?)", | ||
"min": "min(?)", | ||
"max": "max(?)", | ||
"median": "percentile(?, 0.5)", | ||
"std": "stddev(?)" | ||
} | ||
}, | ||
"bucketization": { | ||
"CHAR,VARCHAR,LONGVARCHAR,TINYINT,SMALLINT,INTEGER,BIGINT": {}, | ||
"DATE,TIME,TIMESTAMP": { | ||
"byYear": "year(?)", | ||
"byMonth": "date_format(?, 'yyyy-MM')", | ||
"byWeek": "weekofyear(?)", | ||
"byDate": "to_date(?)" | ||
} | ||
}, | ||
"comparator": { | ||
"rlike": "? RLIKE ?", | ||
"like": "? LIKE ?", | ||
"isNull": "? IS NULL", | ||
"isNotNull": "? IS NOT NULL", | ||
"isTrue": "? IS TRUE", | ||
"isFalse": "? IS False", | ||
"greater": "? > ?", | ||
"less": "? < ?", | ||
"greaterOrEqual": "? >= ?", | ||
"lessOrEqual": "? <= ?", | ||
"notEqual": "? != ?", | ||
"between": "? BETWEEN ? AND ?", | ||
"notBetween": "? NOT BETWEEN ? AND ?", | ||
"and": "AND", | ||
"or": "OR" | ||
}, | ||
"typeConversion": { | ||
"TINYINT,SMALLINT,INTEGER,BIGINT,FLOAT,REAL,DOUBLE,NUMERIC,DECIMAL": "?", | ||
"CHAR,VARCHAR,LONGVARCHAR": "'?'", | ||
"DATE": "date('?')", | ||
"TIME,TIMESTAMP": "timestamp('?')" | ||
} | ||
} |
Oops, something went wrong.