Commit Graph

51 Commits

Author SHA1 Message Date
Alexey Milovidov
26788e3938 Formatting [#CLICKHOUSE-2]. 2017-03-13 21:01:46 +03:00
Alexey Milovidov
a380fa88da Fixed debug build [#CLICKHOUSE-2]. 2017-03-12 14:09:25 +03:00
proller
a2d78e674f split FunctionsStringSearch.h (#572)
* split FunctionsStringSearch.h

* wip

* includes

* format
2017-03-10 21:52:36 +04:00
Alexey Milovidov
3f678a3042 Functions: little better [#METR-2944]. 2016-12-29 22:38:10 +03:00
artpaul
4025dbe7af style 2016-12-15 23:59:07 +05:00
artpaul
92a7dc6908 style 2016-12-15 17:33:50 +05:00
artpaul
785a98e624 move all url's functions to FunctionsURL 2016-12-15 17:05:05 +05:00
artpaul
529f75c8b4 - use std::experimental::string_view
- rename unquoteUrl to decodeURLComponent
- fix code-style
2016-12-12 11:09:00 +05:00
artpaul
99cec8b165 implement unquoteUrl 2016-12-11 02:04:58 +05:00
artpaul
396ccccfce fix extraction of TLD from fqdn 2016-12-10 03:49:21 +05:00
artpaul
228b43bc95 calculate size of 'https' at compile time 2016-12-10 00:33:52 +05:00
artpaul
dfb466d156 host extraction functionality was moved to UrlUtils 2016-12-10 00:31:16 +05:00
artpaul
544143f5c9 url's scheme extraction was fixed according to rfc3986. 2016-12-09 22:38:15 +05:00
Alexey Milovidov
820659b71c Fixed error in URL functions [#METR-2944]. 2016-11-21 05:39:37 +03:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
f373b500d4 Fixed error in 'firstSignificantSubdomain' function [#METR-20000]. 2016-10-20 08:21:49 +03:00
Alexey Milovidov
278d56ea4c Allow to parse Java-style floating point denormals 'NaN' and 'Infinity' [#METR-22428]. 2016-08-17 00:23:53 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Vladimir Chebotarev
866c8929e2 dbms, contrib: GCC 6 build fixes [#METR-20000] 2016-05-23 03:41:26 +03:00
Alexey Milovidov
f7c09d58a5 Attempt to improve performance [#METR-20892]. 2016-04-15 03:33:21 +03:00
Alexey Milovidov
5dec54f4b5 dbms: improved URL-parsing functions for URLs with parameters without values and "parameters" after fragment identifier [#METR-19806]. 2016-01-27 00:24:09 +03:00
Alexey Milovidov
04c78e57ef dbms: function extractURLParameter: fixed error and removed support for ; [#METR-17461]. 2015-07-24 22:23:22 +03:00
Alexey Milovidov
df8eefd79e dbms: tiny fixes [#METR-16266]. 2015-05-16 11:33:32 +03:00
Andrey Mironov
b957a2a9c3 dbms: restore leading slash in pathFull. [#METR-13679] 2014-12-19 17:18:56 +03:00
Andrey Mironov
3332ed9682 dbms: add pathFull function. [#METR-13679] 2014-12-05 16:32:22 +03:00
Andrey Mironov
2066b089ab dbms: fix cut* functions for constant strings 2014-12-05 14:45:06 +03:00
Andrey Mironov
85e511fdab dbms: refactor IFunction descendants' registration in FunctionFactory 2014-11-12 21:04:49 +03:00
Andrey Mironov
0d35ea0bf4 dbms: implement firstSignificantSubdomain, cutToFirstSignificantSubdomain. [#METR-13151] 2014-10-27 18:17:07 +03:00
Alexey Milovidov
108a7850a5 dbms: improved performance on short queries [#METR-11571]. 2014-06-26 04:58:14 +04:00
Alexey Milovidov
9dad91788b Improvement [#METR-2807]. 2014-04-08 11:47:51 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Sergey Fedorov
a1b0a7c454 functions: URLPathHierarchy implementation [METR-9922] 2014-02-11 19:18:38 +00:00
Alexey Milovidov
c611212c3f dbms: preparation [#CONV-2944]. 2013-09-15 05:51:43 +00:00
Pavel Kartavyy
82af5f8e41 Changed order of arguments in extractAll(s, re).[#CONV-8285] 2013-08-07 11:25:02 +00:00
Pavel Kartavyy
8d857bd434 Fixed coding style. Changed extractAll behaviour [#CONV-8285]
Now extractAll works without overcrossing.
New version:
#extractAll('abba', 'abbabba)
>['abba']

Old one:
#extractAll('abba', 'abbabba)
>['abba', 'abba']
2013-08-05 08:40:56 +00:00
Pavel Kartavyy
e2e6032020 ClickHouse: Added function extractURLParameterNames(URL) [#CONV-8285] 2013-08-02 13:55:43 +00:00
Alexey Milovidov
fe0dd1d0b2 dbms: improvement [#CONV-2944]. 2013-06-21 20:34:19 +00:00
Alexey Milovidov
28c9579a5f Separated ColumnString from ColumnArray and ColumnFixedString from ColumnFixedArray; removed ColumnFixedArray [#CONV-2944]. 2013-05-05 15:25:25 +00:00
Michael Kolupaev
9290d084a9 clickhouse: probably slightly improved performance of URL functions [#CONV-2807]. 2013-04-17 12:52:55 +00:00
Michael Kolupaev
c2612d08e1 clickhouse: fixed function cutURLParameter [#CONV-6788]. 2013-03-18 10:39:47 +00:00
Michael Kolupaev
f933440e9c clickhouse: added function cutURLParameter [#CONV-6788]. 2013-03-18 10:27:45 +00:00
Michael Kolupaev
e8766d7e90 clickhouse: added URLHierarchy function [#CONV-6788]. 2013-03-06 11:22:17 +00:00
Michael Kolupaev
07ba56e85c clickhouse: slightly fixed extractURLParameters [#CONV-6788]. 2013-03-06 09:00:58 +00:00
Michael Kolupaev
a1707b1e6c clickhouse: added function extractURLParameters [#CONV-6788]. 2013-03-05 13:30:23 +00:00
Michael Kolupaev
20b8e06784 clickhouse: extractURLParameter supports semicolon separator [#CONV-6788]. 2013-03-05 13:20:01 +00:00
Michael Kolupaev
eb5ebc7996 clickhouse: added function extractURLParameter [#CONV-6788]. 2013-03-05 12:12:47 +00:00
Alexey Milovidov
70385e1229 Reverted experimental modification [#CONV-2944]. 2013-01-21 06:43:38 +00:00
Alexey Milovidov
39abfc625a dbms: improved performance [#CONV-2944]. 2013-01-21 06:10:30 +00:00
Alexey Milovidov
5b9cd8cac6 dbms: development [#CONV-2944]. 2012-08-26 04:40:29 +00:00
Alexey Milovidov
56560361eb dbms: development [#CONV-2944]. 2012-07-21 03:45:48 +00:00