Commit Graph

219 Commits

Author SHA1 Message Date
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
7e6ce6403d types: add a interface to eval the memory cost of datum array (#14185) 2019-12-23 19:36:47 +08:00
ef7adeb50d *: resort fields for reducing the memory allocated (#14172) 2019-12-23 17:10:09 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
4d4678a4dd types: Fix potential timezone related bugs caused by gotime.Local (#13833) 2019-12-20 22:38:25 +08:00
352adc5b00 executor: replace the flag CastStrToIntStrict with InSelectStmt (#14115) 2019-12-18 20:45:17 +08:00
ad1a15de7b expression: implement vectorized evaluation for SubXXXAndYYY (#13691) 2019-12-18 06:12:55 -06:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +08:00
206cdbedfc types: fix insert error when convert string to float (#13716) 2019-12-10 16:03:25 +08:00
7de620055d expression: support expression reverse evaluation framework (#13738) 2019-12-05 11:50:09 +08:00
6b6a6982b4 expression: refactor JSON_QUOTE / JSON_UNQUOTE (#13688) 2019-12-05 11:23:31 +08:00
018d3c3be2 *: fix staticcheck errors in folder types (#13773) 2019-12-04 12:38:42 +08:00
9dbd475c73 types: refactor the code (#13783)
fix struct variable judgement issue.
remove useless value.
use make function default values.
2019-11-29 18:04:45 +08:00
0b9059162c types: Fix potential timezone related bugs caused by gotime.Local (#13752) 2019-11-28 09:45:21 +08:00
a1dc0477a5 types: add error code for package types (#13300) 2019-11-26 19:45:14 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
61f24d2469 types: Fix "Invalid time format" caused by daily saving time (#13614) 2019-11-20 16:05:04 +08:00
9a7e382bc5 *: remove unused code (#13547) 2019-11-19 00:36:23 +08:00
b1aad07148 expression: QUARTER/DATE_FORMAT compatibility with mysql for 0/0.0 values (#12488) 2019-11-09 23:06:13 +08:00
c01006acb0 expression: fix incorrect proto fields and add missing overflow handling for arithmatic functions (#12858)
Signed-off-by: H-ZeX <hzx20112012@gmail.com>
2019-11-06 17:39:14 +08:00
de3a672837 expression: implement vectorized evaluation for 'builtinLTIntSig' (#12710) 2019-11-01 00:31:33 -05:00
875873b7ca expression: implement vectorized evaluation using go generate for builtin compare (LT/LE/GT/GE/EQ/NE/NullEQ)(Real/Decimal/String/Datetime/Duration/Json) (#12875) 2019-10-29 19:27:17 +08:00
33b726adab types: fix undefined behavior in numeric types cast (cast 1<<64 to uint64) (#11968) 2019-10-29 17:18:51 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
609b52998f executor: revert mostly changes in #11678 (#12481) 2019-10-16 21:22:49 +08:00
e168fd93f6 types: invalid year should be 0 (#12715) 2019-10-16 10:35:45 +08:00
e80bab6d46 fix the STR_TO_DATE incompatible between MySQL and TiDB (#12623)
Signed-off-by: Lonng <heng@lonng.org>
2019-10-15 17:51:25 +08:00
1fe25e071c expression: make the selection executor support vectorized expression evaluation (#12220) 2019-10-14 23:03:57 +08:00
d2a86a7839 types: reset the MyDecimal result buffer before putting arithmetic results into it (#12600) 2019-10-11 15:25:48 +08:00
aaf11783f2 expression: Reduce memory allocation in builtinCastTimeAsDecimalSig (#12439) 2019-09-27 17:32:01 +08:00
2bba5654b4 types/data: the bit data type should be treat as uint64 (#11951) 2019-09-26 19:14:31 +08:00
35e308f561 expression: go generate vectorized addtime functions (#12224) 2019-09-26 16:30:01 +08:00
ea963cb3c0 expression: support customizing FieldTypes of arguments for benchmark framework (#12291) 2019-09-23 12:14:15 +08:00
8279053fd6 types: fix a bug of FromGoTime when handling rounding (#12240) 2019-09-18 13:38:16 +08:00
702854f029 planner/core: add bit column test about display width range (#11985) 2019-09-06 16:08:19 +08:00
cfef1bc52f planner/core: add a range check against display width of BIT column type (#11942) 2019-09-02 17:19:31 +08:00
e415ced76e types/json: fix an over-quoted bug in BinaryJSON.Unquote function (#11934) 2019-08-30 17:18:35 +08:00
bdbaeb419d executor: decrease the memory usage of hashTable in HashJoinExec (#11832) 2019-08-29 14:45:52 +08:00
932c4a7bfc expression: improve length and decimal size when a base type add/minus/multiply a decimal (#11873) 2019-08-28 13:29:05 +08:00
46f1dc15f6 types: convert EOF error to ErrTruncate when parse duration (#11865)
* fix time_func

* check warnings
2019-08-26 17:36:55 +08:00
59ea7460a8 planner: PointGet don't rely on names in expression.Column (#11779) 2019-08-26 15:40:39 +08:00
8d165f0fd2 executor: copy row data instead of refereeing chunk.Row in some window functions. (#11678) 2019-08-22 10:57:54 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
bc4a32431f expression: remove unnecessary convertIntToUint. fix error in… (#11640) 2019-08-12 11:13:10 +08:00
0dc91069d8 table: avoid redundant encode in insert/update/delete. (#11532) 2019-08-07 10:16:48 +08:00
ddafdff8f7 expression: fix date_add func in SECOND INTERVAL (#11312) 2019-08-05 15:22:16 +08:00
479db57ba0 types/time: optimize time convertDateFormat function by remove fprintf (#11523) 2019-08-02 11:34:13 +08:00
1c0b366295 fix ConvertJSONToInt unsigned bug (#11483) 2019-08-01 10:40:04 +08:00
ab45834fd2 fix error in ConvertJSONToInt error msg (#11493)
All tests passed, auto merged by Bot
2019-07-31 11:09:11 +08:00