Leonid Fedorov
3919c541ac
New warnfixes ( #2254 )
...
* Fix clang warnings
* Remove vim tab guides
* initialize variables
* 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length
* Fix ISO C++17 does not allow 'register' storage class specifier for outdated bison
* chars are unsigned on ARM, having if (ival < 0) always false
* chars are unsigned by default on ARM and comparison with -1 if always true
2022-02-17 13:08:58 +03:00
Leonid Fedorov
04752ec546
clang format apply
2022-01-21 16:43:49 +00:00
Leonid Fedorov
5c5f103f98
MCOL-4839: Fix clang build ( #2100 )
...
* Fix clang build
* Extern C returned to plugin_instance
Co-authored-by: Leonid Fedorov <l.fedorov@mail.corp.ru>
2021-08-23 10:45:10 -05:00
Gagan Goel
995cadef2d
MCOL-641 Fix alter table add wide decimal column.
...
This patch also removes CalpontSystemCatalog::BINARY and
ddlpackage::DDL_BINARY that were added during the initial
stages of the work on MCOL-641.
2020-11-20 19:49:54 -05:00
Roman Nozdrin
15b1bfa709
Fix fallthrough compilation warnings
2020-11-18 13:53:15 +00:00
Roman Nozdrin
3eb26c0d4a
MCOL-4313 Introduced TSInt128 that is a storage class for int128
...
Removed uint128 from joblist/lbidlist.*
Another toString() method for wide-decimal that is EMPTY/NULL aware
Unified decimal processing in WF functions
Fixed a potential issue in EqualCompData::operator() for
wide-decimal processing
Fixed some signedness warnings
2020-11-18 13:53:15 +00:00
Alexander Barkov
d5c6645ba1
Adding mcs_basic_types.h
...
For now it consists of only:
using int128_t = __int128;
using uint128_t = unsigned __int128;
All new privitive data types should go into this file in the future.
2020-11-18 13:53:15 +00:00
Roman Nozdrin
8de9764f84
MCOL-4172 Add support for wide-DECIMAL into statistical aggregate and regr_* UDAF functions
...
The patch fixes wrong results returned when multiple UDAF exist in projection
aggregate over wide decimal literals now works
2020-11-18 13:52:20 +00:00
David Hall
af80081c94
MCOL-4171 Some fixes
2020-11-18 13:52:20 +00:00
David Hall
638202417f
MCOL-4171
2020-11-18 13:52:19 +00:00
Gagan Goel
32f6167067
MCOL-641 Work of Ivan Zuniga on basic read and write support for Binary16
2020-11-18 13:47:00 +00:00
Alexey Antipovsky
b25fee320a
Remove variable-length arrays (-Wvla)
2020-11-17 15:03:10 +03:00
Andrew Hutchings
49994f7bc3
Fix warnings found in DEBUG combined build
...
Fixes:
* Irrelevant where conditions
* Irrelevant const
* A potential infinite loop in treenode
* Bad implicit case fallthroughs
* Explicit markings for required case fallthroughs
* Unused variables
* Unused function
Also disabled some warnings for now which we should fix later.
2019-12-10 16:33:08 +00:00
Gagan Goel
e89d1ac3cf
MCOL-265 Add support for TIMESTAMP data type
2019-04-23 00:00:09 -04:00
David Hall
3f2c753947
MCOL-1822-c final checkin
2019-03-05 09:33:39 -06:00
David Hall
a2aa4b8479
MCOL-1822 Intermediate checkin. DISTINCT not working.
2019-02-25 14:54:46 -06:00
David Hall
c5b9ae11e5
MCOL-1822 add LONG DOUBLE support
2019-01-29 09:55:43 -06:00
David Hall
cc70726a33
MCOL-1983 For MCOL-1676 the reset of fValOut to NULL happens too soon.
2018-12-13 15:49:11 -06:00
David Hall
0cef3bf31c
MCOL-1983 Have regr_intercept, regr_slope and regr_r2 return NULL for 1 or 0 rows in set
2018-11-29 13:31:12 -06:00
David Hall
ed43876695
MCOL-1793 Refactor to handle another edge case. Also fix CORR and reset
2018-11-28 15:49:34 -06:00
David Hall
bbe642b1bc
MCOL-1793 UDAnF: Reset fValOut so if the function returns without value, NULL is the result.
2018-11-28 10:59:08 -06:00
David Hall
e58c4c3381
MCOL-1793 remove commented experimental code
2018-11-06 10:16:34 -06:00
David Hall
d01fe36fdc
MCOL-1793 Window functions return garbage if current row outside of window frame.
2018-11-06 10:11:45 -06:00
David Hall
dd99e420e0
MCOL-521 Remove "typename" from certain places as some compiles can't handle it
2018-10-02 11:05:50 -05:00
David Hall
70cec8f484
MCOL-1698 get DISTINCT working for UDAnF
2018-09-11 12:02:05 -05:00
David Hall
52cbb62317
MCOL-1698 Fix code for DISTINCT in UDAnF
2018-09-10 13:53:56 -05:00
Andrew Hutchings
8c90419852
Fix merge and coding style issues
2018-06-22 15:31:31 +01:00
David Hall
2b77f0f284
MCOL-1201 Handle NULLs in Window functions correctly.
2018-06-06 16:51:47 -05:00
David Hall
ea70806e93
MCOL-1201 Add support for UDAF multiple parm constants
2018-06-05 14:10:04 -05:00
David Hall
6fa7dded6f
MCOL-1201 manual rebase with develop. Obsoletes branch MCOL-1201
2018-06-05 13:54:17 -05:00
Andrew Hutchings
3c1ebd8b94
MCOL-392 Add initial TIME datatype support
2018-04-30 09:42:41 +01:00
Andrew Hutchings
01446d1e22
Reformat all code to coding standard
2017-10-26 17:18:17 +01:00
David Hall
108fbcf572
MCOL-523 Add UDAF and UDAnF SDK
2017-08-02 11:30:57 -05:00
David Hall
bc2a4e7795
MCOL-523 Add UDAF and UDAnF SDK
2017-08-02 11:22:07 -05:00