Alexey Milovidov
c5c2bd4a3f
Merge branch 'prepared_statements' of https://github.com/sanych73/ClickHouse into sanych73-prepared_statements
2019-06-14 19:28:25 +03:00
alexey-milovidov
e90a7078f3
Merge pull request #5607 from coraxster/decimal-overflow
...
Fix float to decimal convert overflow
2019-06-14 09:20:39 +03:00
dmitry kuzmin
5fc6a6973a
float to decimal overflow fix
2019-06-13 23:28:14 +03:00
alexey-milovidov
87557d216b
Update DataTypesDecimal.h
2019-06-13 17:49:13 +03:00
alexey-milovidov
5ab1a15075
Update DataTypesDecimal.h
2019-06-13 17:48:13 +03:00
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
dmitry kuzmin
89cc1440d8
fix float to decimal convert overflow
2019-06-13 11:40:30 +03:00
Igor Hatarist
fc55d38377
Fix typo in a Decimal exception
...
(presicion -> precision)
2019-06-08 19:56:45 +03:00
Alexander Tretiakov
905856f02d
merge
2019-06-05 17:02:13 +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
Alexander Tretiakov
2f1a03dac0
merge
2019-06-04 21:08:08 +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
Alexander Tretiakov
212731b3e2
merge
2019-05-26 01:45:15 +03:00
chertus
9eca696e82
actualize isNumber for Decimal
2019-05-24 15:11:03 +03:00
Alexander Tretiakov
c661f5c0a1
new
2019-05-19 00:07:23 +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