Commit Graph

59 Commits

Author SHA1 Message Date
Vitaly Baranov
1fa64a2a86 Use separate variables for the database and name in dictionaries. 2019-12-29 23:48:10 +07:00
Nikolai Kochetov
18bfa684a2 Rename IFunction.h to IFunctionImpl.h in functions implementations. 2019-12-09 16:12:54 +03:00
alesapin
4fdb5a61e5 Rename ExternalDictionaries to ExternalDictionariesLoader 2019-09-26 13:41:33 +03:00
Guillaume Tassery
bb088fbf65 Write dictionary permission on user instead of dictionary configuration 2019-09-13 10:22:34 +02:00
Guillaume Tassery
5f1621faa2 Add database right for dictionaries 2019-09-11 13:14:55 +02:00
Alexey Milovidov
8966520801 Added "assert_cast" function as a replacement for static_cast for columns 2019-08-21 05:28:04 +03:00
kreuzerkrieg
112fc71276 adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
chertus
f19dee706a move IColumn.isColumnConst() outside of interface 2019-06-27 22:28:52 +03:00
chertus
f82ea1c1d5 dictGet() dictGetOrDefault for Decimals 2019-05-23 17:04:33 +03:00
Alexey Milovidov
fb19cf1eec Attempt to make compositions with COWPtr more convenient 2019-03-25 04:43:54 +03:00
Alexey Milovidov
a459b2c298 Fixed insufficient type checking in hasAll, hasAny functions 2019-03-15 02:10:51 +03:00
Alexey Milovidov
1d4701b0bc Added some warnings from clang's -Weverything 2019-01-04 15:10:00 +03:00
Alexey Milovidov
a8f09809f5 Simplified logic with "IColumn::convertToFullColumnIfConst" (suggested by Amos Bird) [#CLICKHOUSE-2] 2018-12-21 19:00:07 +03:00
Ivan Lezhankin
6089b26ef0 Fix |RangeHashedDictionary| getter against |ColumnConst| 2018-12-04 16:15:20 +03:00
Alexey Milovidov
7d6fffff48 More style checks [#CLICKHOUSE-3] 2018-11-24 04:48:06 +03:00
alexey-milovidov
0d627c7230
Update FunctionsExternalDictionaries.h 2018-11-21 06:48:01 +03:00
Amos Bird
eec50adbeb Implement dictGet[OrDefault] 2018-11-15 21:48:00 +08:00
Amos Bird
f76bfb00a3 Avoid materialization for dictGetTOrDefault 2018-11-12 00:35:13 +08:00
Amos Bird
3cf2177268 Flexible fields assignment
Field f;

before:

f = Int64(-42);

after:

f = -42;
2018-10-24 08:47:33 +08:00
Alexey Milovidov
65f074715b Miscellaneous #3123 2018-09-18 19:12:23 +03:00
Alexey Milovidov
cc393f130e Minor modifications #3123 2018-09-14 22:23:03 +03:00
Alexey Milovidov
5dfc311075 Fixed build #3123 2018-09-14 22:15:11 +03:00
alexey-milovidov
f64dbda13a
Update FunctionsExternalDictionaries.h 2018-09-14 22:04:53 +03:00
alexey-milovidov
f27a712b7e
Update FunctionsExternalDictionaries.h 2018-09-14 22:02:40 +03:00
alexey-milovidov
93a269d7af
Update FunctionsExternalDictionaries.h 2018-09-14 21:55:12 +03:00
alexey-milovidov
67d6ce4f41
Update FunctionsExternalDictionaries.h 2018-09-14 21:51:18 +03:00
Vasily Nemkov
99560e06f8 Added support of int-based types: Int\UInt(8,16,32), Date, DateTime for range_hashed dictionary.
Fixes #2093
Added type checks for .range_min and .range_max
Allowed nullable range values in dictionary source
Added test for range_hashed dictionaries
2018-09-13 18:19:55 +03:00
chertus
0b35cdae69 refactoring: add some sugar in type checks [CLICKHOUSE-0002] 2018-09-07 17:37:26 +03:00
Alexey Milovidov
0ae34550db Enabling -Wextra-semi [#CLICKHOUSE-2] 2018-08-26 03:52:58 +03:00
Nikolai Kochetov
c8457abb1b Made IFunction::isDeterministic and IFunction::isDeterministicInScopeOfQuery are const. Disabled default implementation with dictionary for not isDeterministicInScopeOfQuery functions. 2018-08-08 14:26:18 +03:00
Alexey Milovidov
b9b89a5590 Less dependencies [#CLICKHOUSE-2] 2018-06-05 22:46:49 +03:00
Tsarkova Anastasia
12c8014e5c Conditional computations. 2018-04-24 09:16:39 +02:00
Alexey Milovidov
30192b1b42 Fixed backward compatibility [#CLICKHOUSE-3650]. 2018-03-16 06:13:13 +03:00
Alexey Milovidov
e272f6d79e Not a fix [#CLICKHOUSE-3650]. 2018-03-16 06:03:17 +03:00
Alexey Milovidov
a16dd1cee7 Little better [#CLICKHOUSE-3650] 2018-03-16 04:22:02 +03:00
Alexey Zatelepin
610f70fbeb forbid non-deterministic functions in primary and partition keys [#CLICKHOUSE-3455] 2018-02-21 20:54:16 +03:00
proller
371d3907b5 Fix dictionary FunctionDictGetOrDefault 2017-12-24 02:16:40 +03:00
Alexey Milovidov
bce801a663 Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-16 08:34:07 +03:00
Alexey Milovidov
14b0397500 Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-16 08:21:04 +03:00
Alexey Milovidov
b2aff7521b Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-15 06:47:43 +03:00
Alexey Milovidov
bed2d644e6 Merge remote-tracking branch 'origin/master' into cow_columns 2017-12-14 04:44:35 +03:00
Alexey Milovidov
f3bb24a3bf Better semantic of sharing columns: development [#CLICKHOUSE-2]. 2017-12-14 04:43:19 +03:00
Alexey Milovidov
4d40879135 Proper fix for external dictionaries with complex keys [#CLICKHOUSE-2]. 2017-12-13 23:40:03 +03:00
Alexey Milovidov
c3015bece3 Miscellaneous [#CLICKHOUSE-2]. 2017-12-11 01:44:04 +03:00
Alexey Milovidov
291467647a Cleanup semantics of data types [#CLICKHOUSE-2]. 2017-12-09 19:17:37 +03:00
Alexey Milovidov
c748493a86 Better [#CLICKHOUSE-2]. 2017-12-02 05:47:12 +03:00
Alexey Milovidov
d2c900cdcc Fixed error (static initializers became too complex) [#CLICKHOUSE-2]. 2017-11-23 00:08:14 +03:00
Alexey Milovidov
df95b81196 Fixed error (static initializers became too complex) [#CLICKHOUSE-2]. 2017-11-22 23:53:47 +03:00
Иванов Евгений
48636ac601 Added support UUID type for dictionaries 2017-11-15 23:31:53 +03:00
alexey-milovidov
a122cd613a Update FunctionsExternalDictionaries.h 2017-08-10 06:29:06 +03:00