Alexey Milovidov
c846d0f6af
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*.*$/}/'
2019-06-13 13:43:37 +03:00
Alexey Milovidov
8b87511e25
Namespace comments are unneeded according to the code style.
...
find dbms -name '*.h' -or -name '*.cpp' | xargs grep -l -P '}\s*//+\s*namespace\s*' | xargs sed -i -r -e 's/}\s*\/\/+\s*namespace\s*\w+/}/'
2019-06-13 13:37:13 +03:00
Igor Hatarist
fc55d38377
Fix typo in a Decimal exception
...
(presicion -> precision)
2019-06-08 19:56:45 +03:00
Orivej Desh
5ec179377a
DEVTOOLS-5170 Delete Y_IGNORE markers ( #5533 )
...
They have been superseded by a new include resolution configuration that lives
outside clickhouse source tree.
2019-06-05 14:52:39 +03:00
Danila Kutenin
7e2b3b59b8
Fix gcc9 warnings and ICE's
2019-05-31 11:55:01 +03:00
Alexey Milovidov
1607ec49ba
Fixed linking with lld
2019-05-30 11:23:20 +03:00
Alexander Kozhikhov
5cd85baec6
changes on return type of linearRegression
2019-05-27 23:14:23 +03:00
chertus
9eca696e82
actualize isNumber for Decimal
2019-05-24 15:11:03 +03:00
chertus
21cf553f16
extract readDecimalText.h from readFloatText.h
2019-05-16 19:41:10 +03:00
Artem Zuikov
c3588fd5da
Merge pull request #5291 from 4ertus2/nulls
...
Add toDecimalOrZero and toDecimalOrNull fuctions
2019-05-16 18:53:17 +03:00
chertus
ab517cdf4d
Merge branch 'master' into decimal
2019-05-16 14:22:52 +03:00
chertus
2739a3f6d0
Merge branch 'master' into nulls
2019-05-16 14:02:12 +03:00
alexey-milovidov
2affb3ca82
Update DataTypesDecimal.h
2019-05-16 00:01:14 +03:00
chertus
5f19c0981d
add toDecimalOrZero and toDecimalOrNull fuctions
2019-05-15 21:50:35 +03:00
chertus
720f8667e4
fix decimal quoted csv input
2019-05-15 16:51:17 +03:00
chertus
02f01a5104
throw Decimal overflow for Inf and NaN
2019-05-15 15:28:44 +03:00
Vitaly Baranov
9620e2e223
Merge pull request #5003 from Enmk/geohash_support
...
Implementation of geohashEncode and geohashDecode functions;
2019-05-14 20:01:22 +03:00
Vasily Nemkov
e4988110ec
Implementation of geohashEncode and geohashDecode functions;
...
Function signatures:
* geohashEncode(float lon, float lat, int precision) => string
* geohashDecode(string encoded) => (float llon, float lat)
With test cases and documentation;
2019-05-10 14:59:24 +03:00
alexey-milovidov
8f8d2c048e
Merge pull request #4629 from bgranvea/simple_aggregate_function
...
SimpleAggregateFunction data type
2019-05-09 18:45:59 +03:00
Alexey Milovidov
ee1a843609
COWPtr: improvements (C++ Russia 2019, suggested by Alexey Malov)
2019-04-19 23:22:06 +03:00
Alexey Milovidov
36d016d331
Added [[noreturn]] attributes for functions that throw unconditionally
2019-04-10 23:27:14 +03:00
bgranvea
42b07c5ee9
refactor to avoid dynamic_cast in data type serialization
2019-04-08 15:39:42 +02:00
alexey-milovidov
caa096a3d0
Update DataTypeDomainSimpleAggregateFunction.cpp
2019-04-08 15:39:42 +02:00
alexey-milovidov
e4b93f092b
Update DataTypeDomainSimpleAggregateFunction.cpp
2019-04-08 15:39:42 +02:00
alexey-milovidov
c1ea15f0bb
Update DataTypeDomainSimpleAggregateFunction.cpp
2019-04-08 15:39:42 +02:00
alexey-milovidov
a3020f2d22
Update DataTypeDomainSimpleAggregateFunction.cpp
2019-04-08 15:39:42 +02:00
bgranvea
ee5a88c15f
fix memory leak
2019-04-08 15:39:42 +02:00
bgranvea
faa7d38cb5
fix for style
2019-04-08 15:39:42 +02:00
bgranvea
9d9d16e1ea
support for SimpleAggregateFunction data type
2019-04-08 15:39:41 +02:00
hcz
7910055017
Fix typo
2019-04-07 11:35:46 +08:00
Nikolai Kochetov
eff767b6aa
Fix PVS studio warning.
2019-04-05 19:31:53 +03:00
Nikolai Kochetov
5bd46508e8
Fix comments.
2019-03-29 18:07:53 +03:00
Nikolai Kochetov
53319e2d6e
Fixed reading from Array(LowCardinality) column with long block of empty array.
2019-03-29 17:06:46 +03:00
Alexey Milovidov
fb19cf1eec
Attempt to make compositions with COWPtr more convenient
2019-03-25 04:43:54 +03:00
Alexey Zatelepin
304c67da99
Merge branch 'master' into fix-add-materialized-column-after
...
Conflicts:
dbms/src/Interpreters/InterpreterCreateQuery.cpp
dbms/src/Interpreters/InterpreterDescribeQuery.cpp
dbms/src/Interpreters/interpretSubquery.cpp
dbms/src/Storages/ColumnsDescription.cpp
2019-03-17 00:46:53 +03:00
Ivan
8ac3e89628
Merge pull request #4649 from abyss7/iast-as
...
Implement and use method IAST::as<Derived>()
2019-03-15 23:22:46 +03:00
Ivan Lezhankin
61954d855d
More reverts
2019-03-15 20:09:14 +03:00
Alexey Zatelepin
b5a0a3fa23
store all kinds of columns in the same list in ColumnsDescription [#CLICKHOUSE-3101]
2019-03-15 19:37:52 +03:00
proller
8c70de3bc7
Build fixes (freebsd) ( #4696 )
2019-03-14 23:52:10 +03:00
Ivan Lezhankin
a3a8b2bbf7
Include IAST_fwd.h for using ASTPtr
2019-03-11 17:01:45 +03:00
Ivan Lezhankin
d1ead22073
Rename As<…> → as<…>
2019-03-11 16:22:51 +03:00
Ivan Lezhankin
1e9f7847dc
Merge remote-tracking branch 'upstream/master' into iast-as
2019-03-11 16:11:22 +03:00
Ivan Lezhankin
a7e838e328
Replace all other casts to method IAST::As<Derived>
...
Also remove some redundant methods like IsIdentifier() et. al.
2019-03-11 15:49:39 +03:00
alexey-milovidov
84dd4aac8b
Merge pull request #4624 from yandex/debug-pod-array
...
Added a few asserts to PODArray
2019-03-08 18:14:55 +03:00
Alexey Milovidov
56690070fa
Merge branch 'master' of github.com:yandex/ClickHouse into debug-pod-array
2019-03-08 15:59:39 +03:00
Alexey Milovidov
8f174e9ef2
Merge branch 'master' of github.com:yandex/ClickHouse into data-type-string-remove-asm
2019-03-08 15:56:15 +03:00
Ivan Lezhankin
0e325c7a4a
Replace const typeid_casts with As<Derived>() method invocations
2019-03-08 12:48:20 +03:00
Alexey Milovidov
73c571412c
Fixed awful error after #3920
2019-03-08 06:32:43 +03:00
Alexey Milovidov
5ef7c66c92
DataTypeString: remove asm code that most likely doesn't make sense for performance
2019-03-08 06:26:12 +03:00
Alexey Milovidov
9d89cc0fc1
Debugging PODArray
2019-03-08 06:23:02 +03:00