Yarik Briukhovetskyi
38bf7cfb59
Merge pull request #60004 from yariks5s/fix_datetime64_scale_conversion
...
Fix scale conversion for DateTime64
2024-02-29 15:45:54 +01:00
avogar
bd2390996e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements
2024-02-21 13:16:07 +01:00
Yarik Briukhovetskyi
c722ebfaa0
Merge branch 'ClickHouse:master' into fix_datetime64_scale_conversion
2024-02-20 20:22:56 +01:00
avogar
122dc6769d
Fixes and improvements for Variant type
2024-02-20 18:58:06 +00:00
Robert Schulze
6b6630c5a7
Allow casting of bools in string representation to to true bools
...
Fixes #57256
2024-02-19 23:03:48 +00:00
Yarik Briukhovetskyi
4616ecd7fb
Update convertFieldToType.cpp
2024-02-19 13:10:00 +01:00
Yarik Briukhovetskyi
e14c1b45a1
style
2024-02-19 12:47:10 +01:00
Yarik Briukhovetskyi
4c9bd4b58a
review
2024-02-19 11:32:44 +00:00
yariks5s
88f06886ac
enhance tests, review fixes
2024-02-16 18:48:49 +00:00
yariks5s
1cbfaf6f0d
init
2024-02-14 23:06:04 +00:00
Raúl Marín
8e5cd5e6b0
Try a different approach
2024-01-12 14:04:47 +00:00
Bharat Nallan Chakravarthy
2c8fd5dbb1
fix possible type mismatch with IPv4
2023-09-02 14:48:46 -07:00
vdimir
8050edaff6
style convertFieldToTypeStrict
2023-08-04 09:45:13 +00:00
vdimir
079c6783a2
Update decimal_in tests for analyzer
2023-08-04 09:45:12 +00:00
vdimir
0032eb9ab7
Fix IN with decimal in analyzer
2023-08-04 09:45:08 +00:00
Nikolay Degterinsky
188bac414e
Merge pull request #50280 from lucas-tubi/fix-datetime64-index-scaning
...
Fixed type conversion from Date/Date32 to DateTime64 when querying with DateTime64 index
2023-06-08 07:10:55 +02:00
avogar
e9c267ed69
Fix converting Null to LowCardinality(Nullable) in values table function
2023-06-06 17:51:53 +00:00
Vasily Nemkov
93cf34320c
Fixed convertFieldToType case of converting Date and Date32 to DateTime64 Field
...
Also added a unit-test that clarifies implementation
2023-05-30 16:10:52 +02:00
Lucas Chang
954e76cb7a
use getScaleMultiplier
2023-05-30 09:38:50 +08:00
Lucas Chang
0d873d50a3
format
2023-05-28 10:49:36 +08:00
Lucas Chang
93415789d7
format
2023-05-28 10:42:42 +08:00
Lucas Chang
41c599b862
fix date32
2023-05-27 17:59:41 +08:00
Lucas Chang
806b7fc18b
fix datetime64 index querying
2023-05-27 17:39:21 +08:00
Azat Khuzhin
d03ae2abfa
Fix modernize-loop-convert clang-tidy warning
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 21:19:37 +02:00
flynn
203df96d5c
IN operator support compare Date and Date32
2023-04-15 12:41:42 +00:00
Alexey Milovidov
e952ecae8c
Add Decimal256 to a lot of places
2023-03-14 22:10:52 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Yakov Olkhovskiy
2559c49810
make only IPv4 as numeric, fix hash functions for IPv6, add more hash functions to test
2023-01-10 02:03:06 +00:00
Yakov Olkhovskiy
45780644bc
fix convert field for IPv4 and IPv6 - as represented by number
2023-01-09 07:27:17 +00:00
Yakov Olkhovskiy
f7799c173b
adapt IPv4 and IPv6 parsers for ReadBuffer, update to fit last master's merge
2022-12-09 21:20:52 +00:00
Yakov Olkhovskiy
08456a2421
special treatment for FixedString(16) as a binary representation for IPv6 in casting to better match previous behavior, some cleanup, test fixed
2022-11-24 05:00:28 +00:00
Yakov Olkhovskiy
9aeebf3bdf
Merge branch 'master' into refactoring-ip-types
2022-11-14 09:21:54 -05:00
Yakov Olkhovskiy
4d144be39c
replace domain IP types (IPv4, IPv6) with native
2022-11-14 14:17:17 +00:00
Anton Popov
2ae3cfa9e0
Merge branch 'master' into dynamic-columns-14
2022-10-31 16:15:19 +01:00
Alexey Milovidov
f64e632707
Merge pull request #42469 from amosbird/issue_42456
...
Fix misbehavior of key analysis
2022-10-28 16:18:00 +02:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Amos Bird
1a462fddea
Fix test
2022-10-21 13:28:24 +08:00
lhuang09287750
215acf5e5b
check the result of conversion for decimal IN float
2022-10-12 15:28:27 +02:00
lhuang09287750
4b0ac268e8
delete an unusable include
2022-10-12 15:28:27 +02:00
lhuang09287750
cab0291873
for checkstyle:use a internal function to get field string ,instead of std::stringstream
2022-10-12 15:28:27 +02:00
lhuang09287750
338f41913c
add a function to process floating point literal comparing with decimal type in IN opertor
2022-10-12 15:28:27 +02:00
Anton Popov
6e61cf92f5
Merge remote-tracking branch 'upstream/master' into HEAD
2022-10-03 13:16:57 +00:00
Alexey Milovidov
c41e37fa8e
Code simplification
2022-09-18 08:58:32 +02:00
Alexey Milovidov
3c43d6516b
Fix style
2022-09-18 08:56:52 +02:00
Alexey Milovidov
791de6592b
Remove trash from Field
2022-09-18 05:16:08 +02:00
Anton Popov
90c60741a1
more safe operations with ColumnObject
2022-05-06 17:15:05 +00:00
awakeljw
d58a21678a
fix ConvertDecimalType unexpected behavior
2022-04-24 23:35:58 +08:00
Alexey Milovidov
294efeccfe
Fix clang-tidy-14 (part 1)
2022-04-16 04:54:04 +02:00
Anton Popov
e8ce091e68
Merge remote-tracking branch 'upstream/master' into HEAD
2022-01-21 20:11:18 +03:00
avogar
ba54a5ff80
Some improvements and fixes for Bool data type
2022-01-20 14:16:11 +03:00